100 likes | 269 Views
Body and Heading Tags and their Attributes. Body Tag Attributes. Body. Headings. These are container tags which format text using pre-defined values for size and color. There are 6 heading tags and they are <h1></h1>, <h2></h2>, <h3></h3>, <h4></h4>, <h5></h5>, <h6></h6>
E N D
Headings • These are container tags which format text using pre-defined values for size and color. • There are 6 heading tags and they are <h1></h1>, <h2></h2>, <h3></h3>, <h4></h4>, <h5></h5>, <h6></h6> • Used for titles and headers • The biggest Heading is <h1> and the smallest is <h6> • Note: Extra lines are placed after headings when displayed on a Web browser.
Heading Levels Heading Levels
Heading Alignments Heading Alignments
Activity 1 List the attributes for the <body> tag.
Activity 2 Make the necessary corrections to the following HTML codes. Write correct on the answer sheet if the code is free from error.
Activity 3 Put T if the statement is true and put F if the statement is false. • Background indicates the background color of the Web page. • Attributes provide additional information about the tag. • The text indicates the color of the text in the Web page. • Headings are container tags which format text using pre-defined value for size and color. • The background color indicates the background image of the Web page. • Link indicates the color of the hyperlinks in the Web page. • There are 6 heading tags used in making HTML. • The align attribute indicates the vertical alignment of heading. • Extra lines are placed after headings when displayed on a Web browser. • The vlink attribute indicates the color of the visited hyperlinks in the Web page.