Typography

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.

Headings

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 ...

Get Web Developer's Reference Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.