Home Tutorial Html Html5 HTML5 break tag, Use of break <br/> in HTML5.

 
 

HTML5 break tag, Use of break <br/> in HTML5.
Posted on: September 2, 2010 at 12:00 AM
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.

Related Tags for HTML5 break tag, Use of break <br/> in HTML5.:


Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.