html - Is it fine to use span elements in div elements? -
i making website personal articles. body of articles basic div containing paragraphs, found useful use span's out of paragraphs manage content desired, hence in div's.
as web semantic becomes important role , becomes more , more constrained, curious of downsides of such practice.
i not familiar standards of html yet. however, thinking using span's in div's semantically not clean.
is googlebot going soil referencing on that?
there nothing wrong using span element inside of div element. absolutely valid. have no negative impact on search engine optimization.
div elements block elements , span elements inline elements. inline elements can placed inside of block elements. opposite want avoid: not put div elements inside span elements.
Comments
Post a Comment