Jump to: navigation, search

HTML line break

From w3cyberlearnings

Contents

HTML - <br/> tag

  • The <br/> tag uses to break the sentence paragraph or any type of contents within HTML.

HTML - Syntax <br/> tag

  • The <br/> is not required the closing tag.
     <br/>

Example 1: Use break for each sentences

<html>
<head>
<title>Paragraph</title>
</head>
<body>
<h2>Welcome to w3cyberlearnings.com</h2>

	A Dallas based national publishing company is seeking a Web Developer. <br/>
	Experience needed in PHP, Adobe CS3, HTML5, SQL and XHTML.<br/>
	<br/>
	Your will be responsible for developing new technologies for our existing <br/>
	or new sites and to integrate technology into these products/features. <br/>
	The candidate for this position is expected to be able to deliver project initiatives <br/>
	on time and communicate technical decision and processes.<br/>
</body>
</html>

Output TRY-IT

Html line break 1.png

Example 2: break between paragraph

<html>
<head>
<title>Paragraph</title>
</head>
<body>
<h2>Welcome to w3cyberlearnings.com</h2>
<p>
	A Dallas based national publishing company is seeking a Web Developer. 
	Experience needed in PHP, Adobe CS3, HTML5, SQL and XHTML.
</p>
<br/> <!-- break -->
<p>
	Your will be responsible for developing new technologies for our existing 
	or new sites and to integrate technology into these products/features. 
	The candidate for this position is expected to be able to deliver project initiatives 
	on time and communicate technical decision and processes.
</p>
</body>
</html>

Output TRY-IT

Html line break 2.png

Related Link


Navigation
Web
SQL
MISC
References