html5 - Html 5 Specification -


this question has answer here:

in html5 should use <br> or <br />? same question <div>.

i have noticed using breaks rendering in ie 10 causes miss calculation of height unless window re-sized. (hidden areas seem causes not figured out specific html yet)

if div's should closed </div> notice lot of library's presuming allowed (clearing floats common 1 <div class="clear" />)

divs not self closing. <br /> xhtml. i'd bet aren't serving pages xhtml don't that. using self-closing tags in html, break show, forces browser treat markup error , has guess @ meant. it's called "tag soup". while browsers pretty job @ that, shouldn't more entering wrong code programming language , hoping software handles mistake.

validate markup , see validator says. read spec see how such things written.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -