Presentation is loading. Please wait.

Presentation is loading. Please wait.

Body and Heading Tags and their Attributes. Attribute Name DefinitionValues backgroundIndicates the background image of the Web page. Ex. Filename(path.

Similar presentations


Presentation on theme: "Body and Heading Tags and their Attributes. Attribute Name DefinitionValues backgroundIndicates the background image of the Web page. Ex. Filename(path."— Presentation transcript:

1 Body and Heading Tags and their Attributes

2 Attribute Name DefinitionValues backgroundIndicates the background image of the Web page. Ex. Filename(path could be included)of the image file bgcolorIndicates the background color of the Web page. Ex. Assigned name or hexadecimal value of the color textIndicates the color of the text in the Web page. Ex. Assigned name or hexadecimal value of the color linkIndicates the color of the hyperlinks in the Web page. Ex. Assigned name or hexadecimal value of the color vlinkIndicates the color of the visited hyperlinks in the Web page. Ex. Assigned name or hexadecimal value of the color Body Tag Attributes

3 Attribute Name DefinitionValues alinkIndicates the color of the active hyperlinks (when clicked) in the Web page. Ex. Assigned name or hexadecimal value of the color class, id, styleUsed in Cascading Style Sheets or CSS Body

4 Headings These are container tags which format text using pre-defined values for size and color. There are 6 heading tags and they are,,,,, Used for titles and headers The biggest Heading is and the smallest is Note: Extra lines are placed after headings when displayed on a Web browser.

5 Attribute Name DefinitionValues alignIndicates the horizontal alignment of heading. Ex. This is left-aligned Left, right, center, justify titleIndicates the text that appears when the mouse hovers over the heading. Any text class, id, styleUsed in Cascading Style Sheets or CSS Heading Attributes

6 Heading Levels

7 Heading Alignments

8 Activity 1 List the attributes for the tag. 1.Indicates the color of the active hyperlinks (when clicked) in the Web page. 2.Indicates the background color of the Web page. 3.Indicates the color of the hyperlinks in the Web page. 4.Indicates the color of the text in the Web page. 5.Indicates the background image of the Web page. 6.Indicates the color of the visited hyperlinks in the Web page.

9 Make the necessary corrections to the following HTML codes. Write correct on the answer sheet if the code is free from error. Activity 2 1. 2. 3. 4. 5. 6. body vlink=“#ff0000” 7. body alink=“#000000” 8. 9. 10.

10 Activity 3 Put T if the statement is true and put F if the statement is false. 1.Background indicates the background color of the Web page. 2.Attributes provide additional information about the tag. 3.The text indicates the color of the text in the Web page. 4.Headings are container tags which format text using pre-defined value for size and color. 5.The background color indicates the background image of the Web page. 6.Link indicates the color of the hyperlinks in the Web page. 7.There are 6 heading tags used in making HTML. 8.The align attribute indicates the vertical alignment of heading. 9.Extra lines are placed after headings when displayed on a Web browser. 10.The vlink attribute indicates the color of the visited hyperlinks in the Web page.


Download ppt "Body and Heading Tags and their Attributes. Attribute Name DefinitionValues backgroundIndicates the background image of the Web page. Ex. Filename(path."

Similar presentations


Ads by Google