I have just tried to validate my first xhtml site and i am getting two errors: errors Can anyone help me fix these here is my site thanks in advance
Does your page have to be XHTML 1.0 Strict? If not change it to Transitional and give it a go. If it has to be strict, remove language="JavaScript" and target="_blank" from the code...report back if anything breaks
I want to keep it strict but if i remove target="_blank" then how will the link know to open in a new page?
Good question, perhaps this will help. It talks about doing it this way Before: <a href="document.html" target="_blank">external link</a> After: <a href="document.html" rel="external">external link</a> "...now that we have our new-window links marked up in a standards-compliant way, we need to write the JavaScript that will cause them to actually open in a new window." Get the full story here http://www.sitepoint.com/article/standards-compliant-world