Just to add -
<hr width="100%" height="5px" style="color:yellow;" />
Your width can be a fixed pixel amount or percentage - and if less than page width then you can center it if you wish. To fill across whole page use 100%. Select height to suit taste.
In IE there is a ''noshade'' option too for a crisper line. It's worth comparing results in more than one browser IMO.