Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Are <hr> and <br> inline or block elements?
Sponsered Link
#1
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.
Reply


Messages In This Thread
Are <hr> and <br> inline or block elements? - Kelly - 12-07-2017, 05:53 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  New HTML5 Markup Elements kim kardashian 0 1,628 10-20-2015, 07:45 AM
Last Post: kim kardashian
  What is a Block Level Element in HTML Kelly 0 1,107 07-10-2015, 01:38 PM
Last Post: Kelly
  What is a Block Level Element in HTML Kelly 0 1,110 07-10-2015, 01:25 PM
Last Post: Kelly

Forum Jump:


Users browsing this thread: 1 Guest(s)