HEADING TAGS- Heading tags are used to write headings and these are larger and bolder than normal body text. HTML has six levels of heading tags such as H1, H2, H3, H4, H5, H6 and these are container tags.
<HEAD>
<TITLE>
Title of the document
</TITLE>
</HEAD>
<BODY>
<H1> Level 1 Heading </H1>
<H2> Level 2 Heading </H2>
<H3> Level 3 Heading </H3>
<H4> Level 4 Heading </H4>
<H5> Level 5 Heading </H5>
<H6> Level 6 Heading </H6>
</BODY>
</HTML>
Output:
Level 1 Heading
Level 2 Heading
Level 3 Heading
Level 4 Heading
Level 5 Heading
Level 6 Heading
UNIT-205
HTML Fundamentals
HTML Elements
HTML Fundamentals
HTML Elements
- HTML, HEAD, TITLE, BODY
- Attributes of Body Element: Background, Bgcolor, Text, Link, Alink, Vlink, Leftmargin, Topmargin
- FONT (Attributes of FONT Element: Color, Size, Face)
- IMG (Attributes of IMG Element: Src, Width, Height, Alt, Align)
- BASEFONT (Attributes of BASEFONT Element: Color, Size, Face)
- CENTER, BR
- HR (Attributes of HR Element: Width, Align, Noshade, Color, Size, Face)
- H1-H6 (Heading Elements)
- P (Paragraph), B (Bold), I (Italics), U (Underline)
- UL (Unordered List) Attributes of UL: Type
- OL (Ordered List) Attributes of OL: Type, Start
- Linking Internal and External Linking
- A (Anchor) Attributes of A Element: Href, Title, Name, Alt
- TABLE (Attributes of TABLE Element: Td, Th, Tr)