The hr tag defines a horizontal rule : hr « Tags « HTML / CSS






The hr tag defines a horizontal rule

  
<html>
<body>
<html>
<body>
<p>The hr tag defines a horizontal rule:</p>
<hr>
<p>This is a paragraph</p>
<hr>
<p>This is a paragraph</p>
<hr>
<p>This is a paragraph</p>
</body>
</html>

</body>
</html>


           
         
    
  








Related examples in the same category

1.'hr' creates a horizontal rule
2.Horizontal rule
3.Set width and height for
4.Set background color for
5.Horizontal Rule with image
6.Horizontal Rule Example
7.Set line width, size and shade together
8.hr margin-left: auto; margin-right: auto; margin-top: 1.25em; margin-bottom: 1.25em;
9.hr width: 10px; height: 10px; background-color: #777;
10.'noshade' causes an 'hr' rule to appear as a solid bar with no shading