SQL PHP HTML ASP JavaScript articles and free scripts to download

Line Break in html pages using <br> tag

Line breaks in html pages can be given by using <br> tag. It does not have any end tags and it can be used at any place within the body tags of the page. Inside table cells and other simple areas also we can use line break tag <br>. More than one break tags can be used to give more line breaks. In a text area if you are using any line breaks then it does not convert on its own to line breaks in html pages. As a result of this many time you will find posting by users or after the form is submitted the page get stretched horizontally without any line breaks. There are different ways to convert the line breaks in html pages, you can see php example of converting line breaks for html web pages. We will discuss here simple html line breaks and its uses.

This is line one <br>This is line two after one line break<br><br>line three after two line breaks<br>

The output is here

This is line one
This is line two after one line break

line three after two line breaks

Paragraph in HTML pages

Be the first to post comment on this article :

Post Comment This is for short comments only. Use the forum for more discussions.
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked

HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2015 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer