--- id: 587d781b367417b2b2512abb title: hr 要素で水平線を作成する challengeType: 0 videoUrl: 'https://scrimba.com/c/c3bR8t7' forumTopicId: 301049 dashedName: create-a-horizontal-line-using-the-hr-element --- # --description-- `hr` タグを使用すると、それを囲む要素の幅を横切る水平線を追加できます。 これは、トピックの変更を表したり、コンテンツをグループごとに視覚的に区切ったりするために使用できます。 # --instructions-- カードのタイトルを含んでいる `h4` の下に、`hr` タグを追加してください。 **注:** HTML では `hr` は自己終了タグであり、終了タグは必要ありません。 # --hints-- コード内でマークアップに `hr` タグを 1 つ追加する必要があります。 ```js assert($('hr').length == 1); ``` `hr` タグはタイトルと段落の間にある必要があります。 ```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.

```