[thelist] FIR Shortcoming?

Shawn K. Quinn skquinn at frogger.kicks-ass.net
Tue Feb 3 23:51:07 CST 2004


On Monday 2004 February 02 10:57, Joshua Olson wrote:
> I've tried:
>
> <a href="/"><h1><span>Sitename.com</span></h1></a>
> <h1><a href="/"><span>Sitename.com</span></a></h1>
> <h1><span><a href="/">Sitename.com</a></span></h1>
>
> The 2nd two obviously won't work because of the display: none on the
> span.
>
> The 1st won't work because... heck I don't know, it just doesn't
> work.  :-)

Because it's invalid HTML. You can't just stuff <h1> inside <a> when the 
HTML specification clearly forbids this.

-- 
Shawn K. Quinn


More information about the thelist mailing list