Using <a> in a <ul> element in front of <li>

Using the following code:


                        <a href='nl/content/home'><li><br />Home</li></a>



Returns the following error after a check:

document type does not allow element "a" here; assuming missing "li"


used DocType:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


Is this a known issue or a coding flaw, because it works as it should and
looks okay to me!

Received on Thursday, 1 April 2010 13:10:14 UTC