The fact that the documentation recommends using <span> as the outermost parent is another issue. It's not valid HTML to put block-level elements like <div>s inside a <span>. A span may only accept phrasing content as children.
An education consultancy focused on researching, designing, building, and testing cutting-edge curriculum, running bold experiments to innovate learning.
The fact that the documentation recommends using
<span>as the outermost parent is another issue. It's not valid HTML to put block-level elements like<div>s inside a<span>. A span may only accept phrasing content as children.It's true!
<i>is dead too. And all those div? Gotta be something semantic to use...