Click to See Complete Forum and Search --> : [RESOLVED] Can <H1> Go inside <a> Tags?


jihanemo
11-27-2009, 08:58 PM
Is it wrong to put <h1> tags inside of <a> tags? Such as "<a><h1></h1></a>? I'm asking because the HTML validation results for my page seem to be referencing a thousand of these errors. Does my doc type not allow this?

Here is the page: http://americanchic.net/help.html

Here are the validation results: http://validator.w3.org/check?uri=http%3A%2F%2Famericanchic.net%2Fhelp.html&charset=%28detect+automatically%29&doctype=Inline&group=0

Kethinov
11-28-2009, 03:28 AM
Yes, that is wrong. You should not place <h1> tags inside <a> tags.

jihanemo
11-28-2009, 10:04 AM
Okay. Thank you.