freeCodeCamp's Applied Visual Design, Create a Horizontal Line Using the hr Element

Lesson Summary

In this lesson from the Applied Visual Design course on freeCodeCamp we look at the "hr" element. The "hr" element allows us to create a horizontal line that will stretch the width of the element it is contained in. We learn that the "hr" tag is a self closing tag which does not need a closing tag. An "hr" tag is used usually when you want to separate parts in your content or when changing topics.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required