Files
Randell Dawson 1494a50123 fix(guide): restructure curriculum guide articles (#36501)
* fix: restructure certifications guide articles
* fix: added 3 dashes line before prob expl
* fix: added 3 dashes line before hints
* fix: added 3 dashes line before solutions
2019-07-24 13:29:27 +05:30

1.1 KiB

title
title
Create a Horizontal Line Using the hr Element

Create a Horizontal Line Using the hr Element


Problem Explanation

The hr tag is one of the simplest HTML elements. It represents a thematic change in content and creates a thin horizontal line across its parent element.

This lesson requires you to use the hr tag to separate the title and content of a "card". So how do you create an hr element?

<!-- It's this easy. Note that it does not have a closing tag. -->
<hr>

Hints

Hint 1

Add this tag between the title and content to create the horizontal line in this lesson on freeCodeCamp. Here is a screenshot from that lesson showing an hr element contained within the "cardText" div.

Example hr