<H1> inside <A> is wrong!

I was doing some CSS work and I was having a hard time deciding which made more sense: putting a H1 in an A tag or doing the opposite. I was doing the usual research on Google and never really found a definitive answer.

I ended up coming up with the answer myself. Placing an H1 tag within an A tag will not validate as XHTML. Instead, you must put the link inside of the heading tag.

It's a small tip, but I hope it helps.

Latest Blog Entries

I Don't Remember Wearing That TurbanThursday, July 7, 2005
I can read.Tuesday, June 14, 2005
First Post.Wednesday, June 1, 2005