Subject says it all, is a span allowed inside an H element.
example
<h3>Blah is good > <span class=“good”> Definitly</span></h3>
???
Thanks
Subject says it all, is a span allowed inside an H element.
example
<h3>Blah is good > <span class=“good”> Definitly</span></h3>
???
Thanks
Yes
Yep. It’s the basis for most image replacement techniques :).
Hi,
Sorry for the short answer i was in the middle of something ![]()
Heading tags (h1) etc are special block level tags like paragraphs. They can only hold inline content such as spans and anchors etc.
Unlike divs (which are also block level) they cannot contain other block level elements. So you can’t put a <p> inside a <h1> (or vice versa).
Paul
Thank you guys, its always appreciated.