HTML5 break tag, Use of break <br/> in HTML5.

In this section, you will see the use of break tag of HTML5.

 
 

Share on Google+Share on Google+

HTML5 break tag, Use of break <br/> in HTML5.

Ads

In this section, you will see the use of break tag of HTML5.

HTML5 break tag, Use of break <br/> in HTML5.

Introduction:

In this tutorial, you will see the use of break <br />tag in HTML5. It is used for breaking a line. The content after break line will be display at new line. It is a singular empty tag.

Declaration Syntax :

Declaration syntax of Break line in HTML5.

                            <br />

The declaration of break line is case_ insensitive.

Example of <br /> in HTML5:

Code:

BreakTag.html

<!DOCTYPE html>
<html>
<head>
<title>Insert title of document</title>
</head >
<body>
<p><b>Example of break line tag in HTML5.</b></p>
Content of document before break line tag.<br/>
Content of document after break line tag.
</body>
</html>
Output:

Note: See the browser compatible page for successfully rendering the program.

Download this code

Difference Between HTML5 and HTML4.01:

There is no difference in HTML5 and HTML4.01.

Advertisements

Posted on: September 2, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles