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


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

Forum Jump:


Users browsing this thread: 1 Guest(s)