--- id: 587d781b367417b2b2512abb challengeType: 0 videoUrl: 'https://scrimba.com/c/c3bR8t7' forumTopicId: 301049 title: 使用 hr 标签创建水平线 --- ## Description
术语:Horizontal Rule => hr => 水平线。 你可以用 hr 标签来创建一条宽度撑满父元素的水平线。它一般用来表示文档主题的改变,在视觉上将文档分隔成几个部分。
## Instructions
在包含卡片标题的 h4 下面添加一个 hr 标签。 注意
在 HTML 里,hr 是自关闭标签,所以不需要一个单独的关闭标签。
## Tests
```yml tests: - text: '你应该添加一个 hr 标签。' testString: assert($('hr').length == 1); - text: 'hr 标签应该在标题和段落之间。' testString: assert(code.match(/<\/h4>\s*?|\s*?\/>)\s*?

/gi)); ```

## Challenge Seed
```html

GoogleAlphabet

Google 由在斯坦福大学攻读理工博士的拉里·佩奇和谢尔盖·布林共同创建。

```
## Solution
```html // solution required ```