📚 › HTML: build the structure of a web page
3. Paragraphs, line breaks and dividers
ستتم ترجمة هذا المقال تلقائيًا. يُعرض بالإنجليزية حاليًا.
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.
عرض المثال
<p>First line<br>Second line</p>
<hr>
<p>A new section.</p>
✍️ دورك الآن
Write a paragraph with a line break between Hello and World, then a horizontal divider.