<sectionid="description"><code>p</code> elementos <code>p</code> son el elemento preferido para el texto de párrafo en sitios web. <code>p</code> es la abreviatura de "párrafo". Puedes crear un elemento de párrafo como este: <code><p>I'm ap tag!</p></code></section>
testString: 'assert(($("p").length > 0), "Create a <code>p</code> element.");'
- text: Su elemento <code>p</code> debe tener el texto "Hola párrafo".
testString: 'assert.isTrue((/hello(\s)+paragraph/gi).test($("p").text()), "Your <code>p</code> element should have the text "Hello Paragraph".");'
- text: Asegúrese de que su elemento <code>p</code> tiene una etiqueta de cierre.
testString: 'assert(code.match(/<\/p>/g) && code.match(/<\/p>/g).length === code.match(/<p/g).length,"Makesureyour<code>p</code> element has a closing tag.");'