Schmoopy
01-15-2009, 01:16 AM
I know it's not really a big issue, but for some reason the W3 validator doesn't pick up on my character encoding although it is in the code, the document is .php but I didn't think would change it in any way:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.bristoldnb.co.uk%2F
As you can see it's only a warning but then if you look on the site and the source code it says:
<!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">
<head>
<title>Bristol DNB - Listing all the drum & bass nights in Bristol</title>
<meta name="description" content="bristol dnb, bristol drum and bass, bristol d&b, bristol d'n'b, bristol drum and bass nights, bristol dnb nights, bristol dnb clubs"/>
<meta name="keywords" content="Listings for drum and bass events in Bristol, UK"/>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<base target="_blank"/>
<link rel="stylesheet" type="text/css" href="styles/styles.css"/>
<link rel="shortcut icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script type="text/javascript">
function DoClear(text) {
if (text.value == text.defaultValue){
text.value = "";
text.style.color = "#66cc33";
}
}
</script>
</head>
As you can see, it's there, but just not being found by the validator.
So what I want to know is - is this a problem with the validator itself or is there a flaw in my coding?
Thanks for any help given,
Jack
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.bristoldnb.co.uk%2F
As you can see it's only a warning but then if you look on the site and the source code it says:
<!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">
<head>
<title>Bristol DNB - Listing all the drum & bass nights in Bristol</title>
<meta name="description" content="bristol dnb, bristol drum and bass, bristol d&b, bristol d'n'b, bristol drum and bass nights, bristol dnb nights, bristol dnb clubs"/>
<meta name="keywords" content="Listings for drum and bass events in Bristol, UK"/>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<base target="_blank"/>
<link rel="stylesheet" type="text/css" href="styles/styles.css"/>
<link rel="shortcut icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script type="text/javascript">
function DoClear(text) {
if (text.value == text.defaultValue){
text.value = "";
text.style.color = "#66cc33";
}
}
</script>
</head>
As you can see, it's there, but just not being found by the validator.
So what I want to know is - is this a problem with the validator itself or is there a flaw in my coding?
Thanks for any help given,
Jack