--- id: 587d781b367417b2b2512abb title: Create a Horizontal Line Using the hr Element challengeType: 0 videoUrl: 'https://scrimba.com/c/c3bR8t7' forumTopicId: 301049 dashedName: create-a-horizontal-line-using-the-hr-element --- # --description-- You can use the `hr` tag to add a horizontal line across the width of its containing element. This can be used to define a change in topic or to visually separate groups of content. # --instructions-- Add an `hr` tag underneath the `h4` which contains the card title. **Note:** In HTML, `hr` is a self-closing tag, and therefore doesn't need a separate closing tag. # --hints-- Your code should add an `hr` tag to the markup. ```js assert($('hr').length == 1); ``` The `hr` tag should come between the title and the paragraph. ```js assert(code.match(/<\/h4>\s*?|\s*?\/>)\s*?

/gi)); ``` # --seed-- ## --seed-contents-- ```html

GoogleAlphabet

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

``` # --solutions-- ```html

GoogleAlphabet


Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

```