Forum Discussion
Are <hr> and <br> inline or block elements? - Printable Version

+- Forum Discussion (http://forum-discussion.com)
+-- Forum: Coding Problems (http://forum-discussion.com/Forum-Coding-Problems)
+--- Forum: HTML and CSS (http://forum-discussion.com/Forum-HTML-and-CSS)
+--- Thread: Are <hr> and <br> inline or block elements? (/Thread-Are-hr-and-br-inline-or-block-elements)



Are <hr> and <br> inline or block elements? - Kelly - 12-07-2017

Are &lt;hr&gt; and &lt;br&gt; inline or block elements?

I was always wondering that is &lt;br /&gt; 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

&lt;HR /&gt; is a block-level element and &lt;BR /&gt; is an inline element.