Forum Discussion

Full Version: Are <hr> and <br> inline or block elements?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Are <hr> and <br> inline or block elements?

I was always wondering that is <br /> an inline or block level element in html5. I have got my answer here it is.
Now according to

https://www.w3.org/TR/html5/grouping-content.html#the-hr-element
https://www.w3.org/TR/html5/text-level-semantics.html#the-br-element

<HR /> is a block-level element and <BR /> is an inline element.