HTML Heading
- The title of the document you want to see at the top of the webpage.
- There are six levels of headers in HTML. H1 is the highest (or most important) level and H6 is the tiniest heading on the page.
- The heading elements are H1, H2, H3, H4, H5, and H6. is shown in HTML headers.
Example:
<!DOCTYPE
html>
<html>
<body>
<h1>GOCOURSE</h1>
<h2>GOCOURSE</h2>
<h3>GOCOURSE</h3>
<h4>GOCOURSE</h4>
<h5>GOCOURSE</h5>
<h6>GOCOURSE</h6>
</body>
</html>
Output:
The default size for an HTML heading. However, you may use the CSS
font-size property to determine the size for any heading using the style
attribute.
Example:
<!DOCTYPE html>
<html>
<body>
<h1 style="font-size:50px;">Heading 1</h1>
<p>HTML is the standard markup language for creating Webpages.</p>
</body>
</html>
Output:
More topic in HTML