Horizontal rule in html

We can make a HTML line with <hr/>, it breaks up the section of text.



<html>
<head>
<title>Your page title</title>
</head>
<body>
We are using horizintal tag for breaking up the
our text.
<hr/>
 Horizintal tag makes a line for diving text.
</body>
</html>

 

we can set width of horizintal line  with help width attribute and color with color attribute.

Example:

<html>
<head><title>Your page title</title></head>
<body>
We are using horizintal tag for breaking up the
our text.
<hr width="50%" color="0000ff"/>
 Horizintal tag makes a line for diving text.
</body>
</html>