Forum Moderators: open
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link REL="stylesheet" HREF="/css/home.css" type="text/css" />
im getting the following errors:
Line 18, Column 11: there is no attribute "REL".
<link REL="stylesheet" HREF="/css/home.css" type="text/css" />
i have been scouring the w3c and not find what i need to do...
believe it or not, i have taken my site from 170+ errors down to 80 in just a few minutes. validating with the W3C as you can imagine.
only remaining one that i have control over is this:
"document type does not allow element "link" here"
should i be using another tag instead of link?
i know of no other.
there are alot of errors i seem to not have control over..
i.e. we have a website search application that has a query in the function:
function RunSearch() {
window.location = "http://searcher.example.com:8765/query.html?ql=&col=web1&qt=" + document.getElementById("search").value;
and the errors im getting are from the query parameters in the URI:
general entity "qt" not defined and no default entity.
…aho.com:8765/query.html?ql=&col=web1&qt=" + document.getElementById("search")
}
cannot generate system identifier for generalentity "qt".
…aho.com:8765/query.html?ql=&col=web1&qt=" + document.getElementById("search")
window.location = "http://searcher.example.com:8765/query.html?ql=&col=web1&qt=" + document.getElementById("search").value; Escape the ampersands...
window.location = "http://searcher.example.com:8765/query.html?ql=&col=web1&qt=" + document.getElementById("search").value; Also, the language attribute on the script element has been deprecated. You can do this...
<script type="text/ecmascript"> P.S. We are now working through the cascade. Take the errors one at a time starting at the first one always. Correcting a top level error will usually correct quite a few more within the cascade. These particular errors that you are correcting now probably make up the bulk of what you have left, we'll see.