[thelist] A (simple?) HTML question...

ben morrison morrison.ben at gmail.com
Tue Aug 19 06:25:58 CDT 2008

On Tue, Aug 19, 2008 at 12:18 PM, Nadeem Hosenbokus
<nadeem at multigraphics.biz> wrote:
> Hi,
> I've arrived at a point of indecision over something that looks like it
> should be simple, straight-forward and in the domain of common knowledge but
> I can't find any solutions on the net.
> Which is better? And why?
> a) Link inside H2: <h2><a href="url">Heading</a></h2>


> b) H2 inside link: <a href="url"><h2>Heading</h2></a>

NO: You should not have a BLOCK level element (H2) inside an INLINE element (a)


Ben Morrison

More information about the thelist mailing list