OMT II Mam Saima Gul. * Static web page * a web page with contents that remain fixed and unchanged once it has been created by the author Web server Client.

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
The World Wide Web. 2 The Web is an infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that.
HTML popo.
Internet Applications Development Lecture 2 L. Obead Alhadreti.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML. The World Wide Web Protocols Addresses HTML.
C HAPTER – 3 I NTRODUCTION TO H TML By :- Pinkesh H. Patel.
HTML popo.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
HTML Minute University Richard Fisher 10/1/2001 HTML FSA Training2 HTML Overview  HTML  HyperText Markup Language.
1 Outline 9.1Introduction 9.2Markup Languages 9.3Editing HTML 9.4Common Tags 9.5Headers 9.6Text Styling 9.7Linking 9.8Images 9.9Formatting Text With 9.10Special.
 2001 Deitel & Associates, Inc. All rights reserved. 1 Outline 9.1Introduction 9.2Markup Languages 9.3Editing HTML 9.4Common Tags 9.5Headers 9.6Text Styling.
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
HTML Programming last updated 9/12/05 at 1:30pm HyperText Markup Language Reference: – HTML BasicsHTML Basics An HTML program is a set of paired tags that.
CS /13 DePaul University SNL 262 Advanced Web Page Design Review & Introduction - I Instructor: David A. Lash.
23-Jun-15 HTML. 2 Web pages are HTML HTML stands for HyperText Markup Language Web pages are plain text files, written in HTML Browsers display web pages.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
HTML Code. What we will cover Basic HTML Body Font Images Hyperlinks Tables Frames.
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
ULI101: XHTML Basics (Part III) Introduction to XHTML / Continued … Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,,
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
HTML Overview Part 2 – Paragraphs, Headings, and Lines 1.
HTML Essentials Markup ( Part I ). Why Markup ? Markup gives meaning and structure to your web page Creates a relationship between the elements.
Computer Science 101 Introduction to Web Pages. Origins of the Web Vannevar Bush (Memex, 1945) Ted Nelson (Xanadu, 1968) Doug Englebart and Alan Kay (
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
HTML (HyperText Markup Language)
1 Essential HTML coding By Fadi Safieddine (Week 2)
Understanding HTML Code
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
CSCI 1101 Intro to Computers
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
Chapter 6 An Introduction to HTML Pages Tag Nesting You can put two tags together to combine the effects Bold and underlined But make sure.
Introduction to HTML 1 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio.
Just Enough HTML How to Create Basic HTML Documents.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Write basic.
HTML: Hyptertext Markup Language Doman’s Sections.
ECA 228 Internet/Intranet Design I Intro to Markup.
Agenda Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,, Font Attributes: size, color, face Horizontal.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
CPT 499 Internet Skills for Educators Session Ten Class Notes.
L. Anne Spencer (c) 2001 Basic Web Design Document, text, & layout formatting tags & attributes.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
Web Development Lecture # 09 Text Formatting in HTML.
Formatting Text with HTML. Objectives: Students will be able to: Define the structure of the document with block elements Format numbered, bulleted, and.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Getting Started We will be using MS Notepad to write our HTML. Pages will be saved to classroom folder Pages will be viewed as they are created in your.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Hypertext Markup Language.  Developed by Tim Berners-Lee in 1990  Stands for HyperText Markup Languange  A format that tells a computer how to display.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 Foundation of HTML Web Page Design. 2 Safe Web Fonts: Used by most computers regardless of environment or platform  Times New Roman  Arial  Courier.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Tag Basics.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Computers and Scientific Thinking David Reed, Creighton University
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Chapter 16 The World Wide Web.
HyperText Markup Language
Lesson 2: HTML5 Coding.
Presentation transcript:

OMT II Mam Saima Gul

* Static web page * a web page with contents that remain fixed and unchanged once it has been created by the author Web server Client computer 1. Client requests web pages 2. Web server looks for the corresponding HTML files 3. HTML files return to client 4. Client browser formats HTML files 2

* Static web page 3

* Dynamic web page * a web page with contents generated “on-the-fly” by the server or the client computer according to clients’ requests * e.g. return the system’s current date and time to the surfer browser (written in Active Server Page) 4

Comparison between static and dynamic web pages 5

* JavaScript * VB Script * Java * Java Applets 6

* Common Gateway Interface (CGI) * a standard that specifies how an application program communicates with the web server * Active Server Pages (ASP) * a server-side scripting language developed by Microsoft * JSP (JavaServer Pages) * developed by Sun Microsystems * combine Java code and HTML(or XML) codes to generate dynamic web pages * HyperText Preprocessor (PHP) * another scripting language for creating dynamic web pages 7

8 * Hypertext Markup Language (HTML) is the text markup language currently used on the World Wide Web. It is used to tell web browsers how to structure and display web pages. First HTML Example Welcome to the world of HTML HTML really isn’t so hard! You can put in lots of text if you want to. In fact, you could keep on typing and make up more sentences and continue on and on.

9 * The preceding example uses some of the most common elements used in HTML documents, which are described here:  The, and tag pairs are used to specify the general structure of the document.  The and tag pair specifies the title of the document that generally appears in the title bar of the web browser.  The and header tag pair creates a headline indicating some important information.  The element, which has no end tag, inserts a horizontal rule, or bar, across the screen.  The and paragraph tag pair indicates a paragraph of text.

10 * So a basic template can be derived for a basic HTML document as shown here: Document Title Goes Here...Other supplementary information goes here Document content and markup go here....

11 * The element delimits the beginning and the end of an HTML document. It contains only the element and the element. * The information in the of an HTML document is very important because it is used to describe or augment the content of the document. The head of an HTML document is like the front matter or cover page of a document. * The most important head element is the element, which most browsers display in a title bar at the top of the browser window. It gives an HTML document a title by which it is known to browsers. Only one element should appear in every document.

12 * Body of a document is delimited by and. Only one element can appear per document. Because the element delimits the document itself, its attributes are primarily used to effect change across the entire document, such as setting background images, background colors, and link and text color.

13 * HTML is not case sensitive. * HTML is sensitive to a single white space character. * HTML elements should close unless empty. * HTML elements should nest. * A simple rule states that HTML should nest, not cross, thus is in error as tags cross Whereas is not since tags nest>/I> * Browsers ignore unknown attributes and elements.

14 * The heading elements are used to create “headlines” in documents. * Six different levels of headings are supported:,,,,, and. These range in importance from, the most important, to, the least important. * Most browsers display headings in larger and/or bolder font than normal text. Heading Example Heading 1 Heading 2 Heading 3 Heading 4 Heading 5 Heading 6

15 * By setting the ALIGN attribute of the various heading elements, the text may be aligned to the right, left, or center of the screen. Heading Alignment Example Aligned Left Aligned Center Aligned Right

16 * Surrounding text with the and tags indicates that the text is a logical paragraph unit. Normally, the browser places a blank line or two before the paragraph. * Text within the is normally rendered flush left, with a ragged right margin. The ALIGN attribute makes it possible to specify a left, right, or center alignment.

17 Paragraph Example This is the first paragraph in the example about the P tag. There really isn't much to say here. This is the second paragraph. Again, more of the same. This time the paragraph is aligned in the center. This might not be such a good idea as it makes the text hard to read. Here the paragraph is aligned to the right. Right-aligned text is also troublesome to read. The rest of the text of this paragraph is of little importance. Under HTML 4.0-compliant browsers, you are able to justify text. As you may notice, the way browsers tend to justify text is sometimes imprecise. Furthermore, not all browsers support this attribute value.

18 * To insert returns or blank lines in a document, the element must be used. The element is a text-level element that inserts a single carriage return or break into a document. It contains no content and has no end tag. It is an empty element – thus, no close tag. Break Example This is the first paragraph. Not much to say here. This is the second paragraph. Notice all the extra space between these paragraphs. That's from the BR tags.

19 Horizontal Rule Example Size of 10 Width of 50% Width of 200 pixels, size of 3 pixels Width of 100, aligned right Width of 100, aligned left Width of 100, aligned center

20 Physical Text Elements Physical Text Elements This is Bold This is Italic This is Monospaced This is Underlined This is Strike-through This is also Strike-through This is Big This is even Bigger This is Small This is even Smaller This is Superscript This is Subscript

Font Element Demo Font Sizing Font Size 1 Font Size 2 Font Size 3 Font Size 4 Font Size 5 Font Size 6 Font Size 7 This is +2 from the base size. Now it is -1 from the base size.

Font Color Red Text Hex #ffc66 color Font Face Set font to common fonts like Arial Take a chance on an unusual font Even set text to dingbat characters f3khilqm Common Font Face Combinations Arial, Helvetica, sans-serif Combination You can set all attributes at once!

Colors...Content to color...

26