Steve Engledow wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dave Briggs wrote:
when I validated my site *before* removing the <h1> tags, it complained about it - saying that I couldn't put
<h1> tags inside <a> ones.
What's the way around this? To have an <h1> title without it linking anywhere?
If you need your title to link somewhere, put the anchor inside the h1
<h1><a href="blah">My title</a></h1>
If it doesn't need to link anywhere, you don't need the anchor.
With the exception of it being an anchor - <h1> <a name="splat" /> My title </h1> OR <a name="splat" /> <h1> My title </h1>
as opposed to a link...
JT