--- id: 587d781b367417b2b2512abb title: Create a Horizontal Line Using the hr Element challengeType: 0 videoUrl: '' localeTitle: 使用hr元素创建水平线 --- ## Description
您可以使用hr标记在其包含元素的宽度上添加水平线。这可用于定义主题更改或直观地分隔内容组。
## Instructions
h4下面添加一个hr标签,其中包含卡片标题。 注意
在HTML中, hr是一个自动关闭标记,因此不需要单独的结束标记。
## Tests
```yml tests: - text: 您的代码应该在标记中添加hr标记。 testString: 'assert($("hr").length == 1, "Your code should add an hr tag to the markup.");' - text: hr标签应位于标题和段落之间。 testString: 'assert(code.match(/<\/h4>\s*?|\s*?\/>)\s*?

/gi), "The hr tag should come between the title and the paragraph.");' ```

## Challenge Seed
```html

GoogleAlphabet

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

```
## Solution
```js // solution required ```