Kumail.pk is a Free Platform of

Line Break, Thematic Break

To add a line break to your HTML code, you use the <br> tag. The <br> tag does not have an end tag. You can also add additional lines between paragraphs by using the <br> tags. Each <br> tag you enter creates another blank line

Line Break, Thematic Break

Line Break, Thematic Break

Add a Line Break in HTML: Overview

            This tutorial shows you how to add a line break in HTML. By default, browsers ignore many formatting keystrokes that we take for granted. Examples include the “Enter” and “Tab” keys and multiple uses of the spacebar. To accomplish the same tasks in HTML, you use page formatting tags.

            Web browsers wrap text automatically to the next line when the current line reaches the right side of the browser. When you add a line break in HTML, you avoid this text wrapping and start new text the next line. To add a line break to your HTML code, you use the <br> tag.  The <br> tag does not have an end tag. You can also add additional lines between paragraphs by using the <br> tags.  Each <br> tag you enter creates another blank line.

Start Tag:<br> 
End Tag:None 
Attributes:None 
Example:<p>This is where your fist line of text goes

 

<br>Your second sentence would begin on the next line.

</p>

Each <br> tag begins a new line.
Result:This is where your first line of text goes.

 

Your second sentence would begin on the next line.

 
 

Add a Line Break in HTML - Tutorial: A picture of the line break tag used in HTML code.

Line Break, Thematic Break

About Us

Kumail.pk is a Free Platform of Education initiated by Syed Kumail Hassan Shah (Director GIT Education)

E-Certification