Deprecated in HTML5. Do not use.

Hr Color Is Deprecated In HTML5 (Replace With CSS)

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more

Sharing is caring!

Attribute of
Code Example For HTML Hr Tags (And Which Browsers Support Them)
What does Hr Color Is Deprecated In HTML5 (Replace With CSS) do?
Was used to control the display color of a horizontal rule. Deprecated. Use CSS instead.
Adam is a technical writer who specializes in developer documentation and tutorials.