HTML Line Break
3. Line Break (<br>
)
The <br>
tag inserts a single line break. It is often used in text where spacing between lines is required.
Attributes:
None (it is a self-closing tag).
Example:
<p>This is the first line.<br>This is the second line.<br>This is the third line.</p>
Output:
Explanation:
Each <br>
tag breaks the line.
Comments
Post a Comment