Presentation is loading. Please wait.

Presentation is loading. Please wait.

Formatting Tags. HTML Page Structure Demo Page Aloha, this is a demo page.

Similar presentations


Presentation on theme: "Formatting Tags. HTML Page Structure Demo Page Aloha, this is a demo page."— Presentation transcript:

1 Formatting Tags

2 HTML Page Structure Demo Page Aloha, this is a demo page.

3 Header Tags Headline Tags Chapter 2 Section II Subsection ii

4 Line Break The end of a line has no effect on the browser. The following HTML text Now is the time for all good men to come to the aid of their country. will be displayed as will be displayed as Now is the time for all good men to come to the aid of their country.

5 Line Break (cont.) To force line break, use. Now is the time for all good men to come to the aid of their country. will be displayed as will be displayed as Now is the time for all good men to come to the aid of their country.

6 Paragraph inserts an extra line. inserts an extra line. Today is the first day of the...... Tomorrow is the second day of the rest of... will be displayed as will be displayed as Today is the first day of the...... Tomorrow is the second day of the resot of......

7 Bold, Italic, & Underscore Display Netscape Communicator and Internet Explorer are two major Web page browsers on the market. There are numerous other browsers available. Netscape Communicator and Internet Explorer are two major Web page browsers on the market. There are numerous other browsers available..

8 Center Alignment Display Headline News Economic data unveiling softer economic growth helped alleviate interest rate concerns and sent technology stocks Headline News Economic data unveiling softer economic growth helped alleviate interest rate concerns and sent technology stocks...

9 Attributes Provides additional information within a tag. –In, align is the name of an attribute, and "center" is its value. –Other values for align: left; right

10 Subscript & Superscript Display The chemical symbol for water is H 2 O. The formula for the area of a square: A = side 2

11 Comments Comments do not show up in a browser. However, they will appear in the Source Code View. Use comments: –To describe various sections of a page –To explain special use of tags to achieve unusual effects –To remind oneself to update, remove, or insert Special Characters –Sample page (http://www.cnn.com) Sample page (http://www.cnn.com)Sample page (http://www.cnn.com)

12 Subscript & Superscript Display The chemical symbol for water is H 2 O. The formula for the area of a square: A = side 2

13 Font Tag To set font size To set font color This sentence is in a smaller size. This sentence is in a very large font. This sentence in in red color. This word is in blue color.

14 Nested Tags Italicized Headline Italicized Headline You can use bold and italics to emphasize a word. Italicized Headline Italicized Headline You can use bold and italics to emphasize a word.

15 HTML Character Set ASCII (American Standard for Information Interchange) –characters and numerals (0 to 127) ISO 8895-1 (Latin 1) –includes all English and most European characters (uses 8 bits—0 to 256) UNICODE –Includes all characters in the world (uses 16 bits—0 to 65535)

16 Special Characters To display Use the tag for titles. She said, “Hello.” The authors are Smith & Barney. Use the <h1&gh; tag for titles. She said, "Hello." The authors are Smith &Barney.

17 Special Characters To display The first class stamp costs 41¢. €1 = $1.50 Area of circle = πr 2 The first class stamp costs 41¢ €1 = $1.50 Area of circle = πr 2 &#9786

18 Special Characters ASCII Character Set ASCII Character Set Special Symbols Special Symbols


Download ppt "Formatting Tags. HTML Page Structure Demo Page Aloha, this is a demo page."

Similar presentations


Ads by Google