Member Panel


Sponsors and Ads

Live Tag Cloud

PC Forum PC Help Forum » Web & Networking » Web Design » [Resolved] Errors in code

Web Design - [Resolved] Errors in code posted in the Web & Networking forums; 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 ...

JOIN US NOW to remove these Ads

PC Help Forum, the number one FREE computer support website in the search engines
Post New Thread  Reply
  #1  
Old 04-22-2006
djk1's Avatar
Bronze Member
 
Join Date: Nov 2005
Posts: 31
djk1 - See this Members User comments on their Profile page
Default [Resolved] Errors in code

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 in there 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>


  #2  
Old 04-23-2006
djk1's Avatar
Bronze Member
 
Join Date: Nov 2005
Posts: 31
djk1 - See this Members User comments on their Profile page
Default

Just to let you know i sorted it
PUBLIC"-//
should have been
PUBLIC "-//
I missed the space after public


  #3  
Old 04-23-2006
Hengis's Avatar
PCHF Founder & Owner
My PC
 
Join Date: Jan 2004
Location: Newbury, England
Posts: 10,792
PC Experience: Always learning
Hengis - See this Members User comments on their Profile page Hengis - See this Members User comments on their Profile page Hengis - See this Members User comments on their Profile page Hengis - See this Members User comments on their Profile page Hengis - See this Members User comments on their Profile page Hengis - See this Members User comments on their Profile page Hengis - See this Members User comments on their Profile page Hengis - See this Members User comments on their Profile page Hengis - See this Members User comments on their Profile page Hengis - See this Members User comments on their Profile page Hengis - See this Members User comments on their Profile page
Send a message via Skype™ to Hengis
Default

..knew you'd see it..simple huh ?


__________________
> Pre-Work > System File Checker
> Did we help you? If we did, please consider Donating

Reply
New! Norton Internet Security 2008 – Download Now Click Here

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


All times are GMT +1. The time now is 05:35 AM.
Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC7
All Graphics & Content Copyright © 2004-2008 - PC Help Forum.com


Back to Top