Horizontal Rule

Element: <hr>
Start tag: required
End tag: forbidden
Attributes: id, class, lang, dir,
  title, style, onclick, ondblclick,
  onmousedown, onmouseup, onmouseover,
  onmousemove, onmouseout, onkeypress,
  onkeydown, onkeyup, more attribute info here.

The Horizontal Rule tag, <hr>, is a line that runs horizontally across your page. You can just add a plain <hr>, or define it more using CSS.

<hr style="width: 70%">


I recommend using percent to define the width or the rule since your rule will not be too wide on lower resolutions, but you can use pixels.

<hr style="width: 200px">

Along with defining the width you can define the height using the size="" attribute set with pixels.

<hr style="height: 5px">


All of these properties can be used together like this:

<hr style="width: 50%; height: 10px">