Solved

HTML Doctype Syntax Error

Posted on 2011-09-27
7
997 Views
Last Modified: 2012-06-27
I'm getting a syntax error on the doctype and I don't know why...

http://74.81.196.208/dragoncustomgolf/

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
0
Comment
Question by:webdork
  • 3
  • 2
  • 2
7 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 36712622
Looks fine from here and the W3C Validator (though it complains about a few other things).  Who or what is telling you it's an error?
0
 
LVL 13

Assisted Solution

by:haloexpertsexchange
haloexpertsexchange earned 150 total points
ID: 36712647
The error shows up in firebug.
If you click on the line it highlights this line,
FB.provide('JSON',{stringify:function(a){if(window.Prototype&&Object.toJSON){return Object.toJSON(a);}else return JSON.stringify(a);},parse:function(a){return JSON.parse(a);},flatten:function(c){var a={};for(var b in c)if(c.hasOwnProperty(b)){var d=c[b];if(null===d||undefined===d){continue;}else if(typeof d=='string'){a[b]=d;}else a[b]=FB.JSON.stringify(d);}return a;}});

Open in new window

in http://connect.facebook.net/en_US/all.js, line 9.
0
 

Author Comment

by:webdork
ID: 36712658
Firefox Web Developer Toolbar has a link to the error console. Also in IE (lower left error indicator).

Yes, W3C Val i'm working through those.
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:webdork
ID: 36712681
thanks haloexpertsexchange:

I dont see that in my Firebug. Can you tell me how you got that to display? Also, whats it mean?
0
 
LVL 13

Expert Comment

by:haloexpertsexchange
ID: 36712732
Do you have a facebook connect for your site? Based on the page name I would think that something was messing up with that.
But now when I look at it again that is not the file that shows up when I click on the error.
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 350 total points
ID: 36713472
Below is the recommendation from this 'official' page followed by yours from your web page.  I don't see any difference.  ??

http://74.81.196.208/dragoncustomgolf/# is the URL in the Error Console.  I don't see any Facebook connections on that page.
<!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">

<!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">

Open in new window

0
 

Author Closing Comment

by:webdork
ID: 36713666
Thanks
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question