Break & Rule Tag

Line break: <br>

The <br> tag will insert a line break. Any text or image that follows this tag is moved to the next line. <br> tag do not have a closing tag.

Code

This is an example of a line break <br>This is another line <br>and one more<br>

Dispayed as

This is an example of a line break
This is another line
and one more

Horizontal Rule: <hr>

The <hr> tag will insert a horizontal rule. You can specify the length and width of the rule using attributes size and width. <hr> tag do not have a closing tag.

Code

Rule 1: <hr>
Rule 2: <hr size="5" width="300">

Dispayed as

Rule 1 :
Rule 2:
Last Updated: 30-April-2013


Post a comment

Name

Your Comment

Email (We dont publish it)

Comments

Nothing yet..be the first to share wisdom.