How can i set thickness of horizontal rule in html

You could use the SIZE property:

<hr size="3" />

Please note that this is deprecated. You should really use styles to resolve this.

hr {
    height: 3px;
}

If you have a lot of <hr /> in your document, just add a style in your <head> section

hr
{
    border: 5px solid #000;
}

and change the 5px to whatever you want.

edit Dont use height, it will make your hr look hollow, unless thats what you are looking for.

here is a simple example: http://jsfiddle.net/ErdXg/ try out some colors and thickness and play around with it.

Tags:

Html

Css