--- id: 587d781b367417b2b2512abb title: Creare una linea orizzontale usando l'elemento hr challengeType: 0 videoUrl: 'https://scrimba.com/c/c3bR8t7' forumTopicId: 301049 dashedName: create-a-horizontal-line-using-the-hr-element --- # --description-- È possibile utilizzare il tag `hr` per aggiungere una linea orizzontale che attraversi la larghezza del suo elemento contenitore. Questo può essere usato per definire un cambio di argomento o per separare visivamente gruppi di contenuti. # --instructions-- Aggiungi un tag `hr` sotto il tag `h4` che contiene il titolo della card. **Nota:** In HTML, `hr` è un tag a chiusura automatica, e quindi non ha bisogno di un tag di chiusura separato. # --hints-- Il tuo codice dovrebbe aggiungere un tag `hr` al markup. ```js assert($('hr').length == 1); ``` Il tag `hr` dovrebbe stare tra il titolo e il paragrafo. ```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.

```