html con los elementos de head y body . Cualquier marca con información sobre su página irá a la etiqueta de head . Luego, cualquier marca con el contenido de la página (lo que se muestra para un usuario) se colocará en la etiqueta del body . Los elementos de metadatos, como link , meta , title y style , por lo general van dentro de la head del elemento. Aquí hay un ejemplo del diseño de una página: <! DOCTYPE html>
<html>
<head>
<! - Elementos de metadatos ->
</head>
<body>
<! - contenidos de la página ->
</body>
</html>
head y un body . La head elemento sólo debe incluir el title , y el body elemento sólo debe incluir la h1 y p . head en la página.
testString: 'assert($("head").length == 1, "There should be only one head element on the page.");'
- text: Solo debe haber un elemento de body en la página.
testString: 'assert($("body").length == 1, "There should be only one body element on the page.");'
- text: La head elemento debe ser un hijo de la html elemento.
testString: 'assert($("html").children("head").length == 1, "The head element should be a child of the html element.");'
- text: El elemento del body debe ser un elemento secundario del elemento html .
testString: 'assert($("html").children("body").length == 1, "The body element should be a child of the html element.");'
- text: La head elemento debe envolver el title del elemento.
testString: 'assert(code.match(/\s*?head element should wrap around the title element.");'
- text: El elemento del body debe envolver alrededor de los elementos h1 y p .
testString: 'assert($("body").children("h1").length == 1 && $("body").children("p").length == 1, "The body element should wrap around both the h1 and p elements.");'
```
Cat ipsum dolor sit amet, jump launch to pounce upon little yarn mouse, bare fangs at toy run hide in litter box until treats are fed. Go into a room to decide you didn't want to be in there anyway. I like big cats and i can not lie kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff. Meow i could pee on this if i had the energy for slap owner's face at 5am until human fills food dish yet scamper. Knock dish off table head butt cant eat out of my own dish scratch the furniture. Make meme, make cute face. Sleep in the bathroom sink chase laser but pee in the shoe. Paw at your fat belly licks your face and eat grass, throw it back up kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
```