Adding a Horizontal Line using HTML

Screenshot (75).png

Horizontal Lines are useful in separating out content. To mark a distinction between two sets of Information. It is not quite difficult to create a horizontal line in HTML.

The Syntax for a Horizontal Line is



hr stands for Horizontal


There are many attributes which can be used with this tag.  For Example

<hr width=30%>

This means that the width of the Line is 30%

<hr align=”left”>

Here we are aligning the Horizontal Line to the Left.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s