Thematic Breaks

In this lesson, we will learn to add thematic breaks in HTML.

We'll cover the following

The <hr> tag defines a thematic break that is used to separate content on a web page. Although originally in HTML 4.01 it was defined as a simple visual element (horizontal rule), HTML5 defines it as a semantic term. The Listing below shows an example of applying the <hr> tag.

Listing: Adding thematic breaks

Get hands-on with 1400+ tech skills courses.