Should subheadings be placed in a seperate <h2> or should they be included with their parent <h1> heading?
For example:
---------- or -------------Code:<h1>Matt Sanchez</h1> <h2>Web Designer</h2>
Which is more semantically correct?Code:<h1>Matt Sanchez <span class="subHeading">Web Designer</span></h1>
Thanks in advance



Reply With Quote




<b> and <i> can be used the same way as a <span>, and have the small added benefit that they do create a sight visual effect with CSS off ... but that's incidental.


Bookmarks