"An inline element with display:block is not allowed to have other block elements inside it" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

"An inline element with display:block is not allowed to have other block elements inside it"

What does this mean?

17th Dec 2017, 6:33 PM
Archana
1 Answer
+ 1
it means that "span, b, i" tags, for example, shouldn't have "div" or something other block elements inside with display:block;
17th Dec 2017, 8:06 PM
BodyaBuilder
BodyaBuilder - avatar