<hr>

Description

This element creates a horizontal rule going across the page. The default setting causes the line to be shaded, giving it a 3D appearance.

Example


<html>
<body>
     paragraph#1<!-- w  w  w .j ava  2 s.c om-->
     <hr>
     paragraph#2
     <hr>
</body>
</html>

Click to view the demo

The code above generates the following result.

hr




















Home »
  HTML CSS »
    HTML CSS Reference »




HTML Tag Reference
CSS Reference
CSS Selector Reference
Encoding Reference