Starlit Daily

📚 › 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.

← कोर्स पर वापस