Jump to content

Changing colour of an horisontal line


Recommended Posts

<hr> is depracated in HTML 4 / XHTML 1.1 and should be replaced by an appropriate border. However you can style them with CSS or inline in the normal fashion, I believe, e.g.:

<hr style="color: red;">


hr {color: red;}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...