HTML Headings
Headings are large pieces of text you can display on a web page. There are typically six levels of heading tags that can be used which are <h1></h1>
through <h6></h6>
.
The following code represents these different types of headings:
<h1>Heading Level 1</h1>
<h2>Heading Level 2</h2>
<h3>Heading Level 3</h3>
<h4>Heading Level 4</h4>
<h5>Heading Level 5</h5>
<h6>Heading Level 6</h6>
Take a look at how these Headings look on a webpage:
HTML Headings Example
Headings are great for putting emphasis on certain text throughout a page. Typically, <h1></h1>
tags will be used for the title of a page or the title of a blog post.
Next up, we'll move on to talking about adding HTML Lists to a page.