Putting an <IMG…> in a <SPAN> is ok, right?
Just to be sure, there’s nothing wrong, putting anything else than text inside a <span> … </span> element, right? For example:
<span id=”…”><img src=”…” width=”…” height=”…” alt=”…”></span>
In my The Ultimate HTML Reference book it says, quote:
“A span is an inline element, and must only contain text content or nested inline or phrase elements. It shouldn’t be used to surround block-level elements…”
This question is in the General Section. Responses must be helpful and on-topic.