--- id: bad87fee1348bd9aecf08801 title: Introduction to HTML5 Elements challengeType: 0 videoUrl: '' localeTitle: Introdução aos elementos HTML5 --- ## Description
O HTML5 introduz mais tags HTML descritivas. Estes incluem header , footer , nav , video , article , section e outros. Essas tags facilitam a leitura do seu HTML, além de ajudar na Otimização do Mecanismo de Pesquisa (SEO) e na acessibilidade. A tag HTML5 main ajuda os mecanismos de pesquisa e outros desenvolvedores a encontrar o conteúdo principal de sua página. Nota
Muitas das novas tags HTML5 e seus benefícios são abordados na seção Acessibilidade Aplicada.
## Instructions
Crie um segundo elemento p após o elemento p existente com o seguinte texto ipsum gatinho: Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched. Enrole os parágrafos com uma tag main abertura e fechamento.
## Tests
```yml tests: - text: Você precisa de 2 elementos p com o texto Kitty Ipsum. testString: 'assert($("p").length > 1, "You need 2 p elements with Kitty Ipsum text.");' - text: Certifique-se de que cada um dos seus elementos p tenha uma tag de fechamento. testString: 'assert(code.match(/<\/p>/g) && code.match(/<\/p>/g).length === code.match(/

p elements has a closing tag.");' - text: Seu elemento p deve conter as primeiras palavras do kitty ipsum text adicional fornecido pelo kitty ipsum text . testString: 'assert.isTrue((/Purr\s+jump\s+eat/gi).test($("p").text()), "Your p element should contain the first few words of the provided additional kitty ipsum text.");' - text: Seu código deve ter um elemento main . testString: 'assert($("main").length === 1, "Your code should have one main element.");' - text: O elemento main deve ter dois elementos de parágrafo como filhos. testString: 'assert($("main").children("p").length === 2, "The main element should have two paragraph elements as children.");' - text: A tag main abertura deve vir antes da tag do primeiro parágrafo. testString: 'assert(code.match(/

\s*?

/g), "The opening main tag should come before the first paragraph tag.");' - text: A tag main fechamento deve vir após a segunda tag de parágrafo de fechamento. testString: 'assert(code.match(/<\/p>\s*?<\/main>/g), "The closing main tag should come after the second closing paragraph tag.");' ```

## Challenge Seed
```html

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

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