Welcome to Our Free Tutorial!

HTML Horizontal Rule

Use the <hr/> tag display line on the screen.

Note:- The horizontal rule tag has no ending tag like the line break tag.

HTML Code:

<hr/> Stress is the
<hr/>
“Wear and tear”
<hr/>
our bodies experience

Result:


Stress is the
“Wear and tear”
our bodies experience

HTML More Code


<p>HR size of 10 </p>



<p>HR with width of 50% and no shading </p>




<p>HR with width of 200 pixels, size of 3 pixels,and no shading </p>



<p>HR with width of 100 pixels, aligned right </p>



<p>HR with width of 100 pixels, aligned left </p>



<p>HR with width of 100 pixels, aligned center </p>