📚 › HTML: build the structure of a web page
3. Paragraphs, line breaks and dividers
Este artículo se traducirá automáticamente. Por ahora se muestra en inglés.
The p element holds a paragraph. Browsers add space around paragraphs automatically. br forces a line break inside a paragraph and hr draws a horizontal divider between sections.
Both br and hr have no end tag.
Ver ejemplo
<p>First line<br>Second line</p>
<hr>
<p>A new section.</p>
✍️ Ahora te toca
Write a paragraph with a line break between Hello and World, then a horizontal divider.