Issue #1:
Right now I am using a simple ColdFusion tag to generate the following code on
a web page in an attempt to hide it from spammers:
<script language="JavaScript" type="text/javascript">
document.write("<a href='mailto:");
document.write("Email.Handle");
document.write("\100");
document.write("thedomain.com");
document.write("'>");
document.write("My Name");
document.write("</a>");
</script>
The problem is the HTML Validator croaks when it sees the following line:
document.write("'>");
And informs me:
Line 720, column 18: document type does not allow element "a" here
document.write("'>");
I then noticed issue #2:
Above the mention that my code is not standards compliant, I found this mention:
Character Encoding mismatch!
The character encoding specified in the HTTP header (utf-8) is different from
the value in the <meta> element (iso-8859-1). I will use the value from the
HTTP header (utf-8) for this validation.
So I guess the two alerts above must be related? I cannot figure out where the
validator is picking out the utf-8 from.
The page I am referring to is:
http://www.northwestcollege.edu/Intl/
Would welcome suggestions on how I can get this page to validate...
� devendra �
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************