Deprecated in HTML5. Do not use.

<hr width=””>

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
Attribute of
Code Example For HTML Hr Tags (And Which Browsers Support Them)
What does <hr width=""> do?
Was used to specify the width of a horizontal rule. Deprecated in HTML5. Use CSS instead.
Adam is a technical writer who specializes in developer documentation and tutorials.