Typography is the art and technique of arranging type elements to make written language legible, readable, and appealing when displayed with the use of headings, bold fonts, italic fonts, strong fonts, lists, and so on.
In Bootstrap, all headings from h1
to h6
are available from HTML. Headings are mainly used to highlight the main topics under discussion. The heading text should be included between proper HTML heading tags, for example, <h1> Here is the heading text
</h1>
. The heading size decreases as the heading number increases, providing the facility to highlight the main topics and subtopics. This technique helps in managing a proper design for the website.
Here are a few examples of how headings can be used:
<h1> This is a Bootstrap heading H1</h1> <h2> This is a Bootstrap heading H2</h2> <h3> This is a Bootstrap heading H3</h3> <h4> This is a Bootstrap heading H4</h4> <h5> This is a Bootstrap heading...