Search engines leverage headings to organize and understand the structure and content of web pages.
Headings are also key for users who tend to scan through a page, making it crucial to use them to illustrate the structure of the document.
Main headings should be marked with <h1>
tags, succeeded by <h2>
for subheadings, and subsequently <h3>
for lesser important titles, continuing in this manner.
While each HTML heading comes with a predefined size, you have the option to customize the size of any heading by employing the style
attribute and utilizing the CSS font-size property.
<h1 style=”font-size:60px;”>Heading 1</h1> |