Solved

HTML Doctype Syntax Error

Posted on 2011-09-27
7
993 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
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…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now