HTML Headings
HTML Headings
HTML defines six elements of headings.
The headings are H1, H2, H3, H4, H5, and H6.
The H1 is the largest and most important, and H6 is the smallest or least important.
The size of a heading can be changed using the CSS font-size property in the style attribute.
HTML Headings
<!DOCTYPE html> <html> <head>HTML Headings </head> <body>HTML Heading 1
HTML Heading 2
HTML Heading 3
HTML Heading 4
HTML Heading 5
HTML Heading 6
</body> </html>
Result: