html - HTML5 standards of nesting div in li or dl -


i know not allowed nest div in li in html5, although can , works. mean shoudn't use it? standard nesting divs in dls?

first of - information wrong. div elements allowed inside li elements. might have confused ul/ol elements, may contain lis accordingly.

what has changed in html5 is, not have block-level , inline elements anymore. instead there more complex distinction of elements several categories.

to see allowed inside element according html5, see element description of specific tag (in case li) can see, flow content allowed (which means can put pretty there - of course div elements).


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -