HTML Tutorials - Line Break


In Html the line break element indicates that a new line is to start at the given point.
The <br /> tag is very similar to hitting the return key on your keyboard it moves the next piece of content to a new line.

The basic syntax of a line break is

<br />

 

The Html line break can be used both in a paragraph and outside of one.  For Example

 

Dear Sir,<br />
 
<p>
I would like to invite you to read the rest of this paragraph at 
your own time.<br>
Kind Regards<br>
Fergal.
</p>

 

The output of the above example in internet explorer would be:

html line break tutorial


You can have multiple line break in and outside of your paragraph, for example

 

Dear Sir,<br /><br />
 
<p>
I would like to invite you to read the rest of this paragraph at 
your own time.<br><br /><br />
Kind Regards<br>
Fergal.
</p>

 

html line break tutorial

As you can see our page looks much better now.


 

C++ Functions Tutorial