joogleberry
New Member
Hi guys
I am currently studying a CIW course, and have come across a problem with writing some code, i have emailed the tutors but cant wait till Monday for a reply so hopefully someone on here maybe able to help.
I had to copy some text into notepad, then get it validated it came back with 12 errors, planted by the tutors which i have rectified all but 1
When i write the line
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
I get a error message saying
Namespace "" found, but document type is not XML!
character data is not allowed here.
..."Content-Type" content="text/html; charset=utf-8"/>
I cant for the life of me find a solution to this so if anyone has any input it would be most appreciated
Cheers Dave
I have included the complete code.
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="keywords" content="CIW, xhtml 1.0, habitat for humanity"/>
<meta name="Description" content="Simple XHTML page for Habitat Site"/>
<title>Habitat for Humanity International Summer Youth blitz Program</title>
</head>
<body bgcolor="white">
Join a summer Build for Teen-agers. The summer Youth Blitz is a unique service
experience for a diverse group of youth, ages 16 to 18, from high schools and
youth organisations around the United States. This page will validate as XHTML 1.0 Transitional.
</body>
</html>
I am currently studying a CIW course, and have come across a problem with writing some code, i have emailed the tutors but cant wait till Monday for a reply so hopefully someone on here maybe able to help.
I had to copy some text into notepad, then get it validated it came back with 12 errors, planted by the tutors which i have rectified all but 1
When i write the line
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
I get a error message saying
Namespace "" found, but document type is not XML!
character data is not allowed here.
..."Content-Type" content="text/html; charset=utf-8"/>
I cant for the life of me find a solution to this so if anyone has any input it would be most appreciated
Cheers Dave
I have included the complete code.
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="keywords" content="CIW, xhtml 1.0, habitat for humanity"/>
<meta name="Description" content="Simple XHTML page for Habitat Site"/>
<title>Habitat for Humanity International Summer Youth blitz Program</title>
</head>
<body bgcolor="white">
Join a summer Build for Teen-agers. The summer Youth Blitz is a unique service
experience for a diverse group of youth, ages 16 to 18, from high schools and
youth organisations around the United States. This page will validate as XHTML 1.0 Transitional.
</body>
</html>