Solved

doctype error

Posted on 2007-03-24
3
556 Views
Last Modified: 2013-11-19
this is my doctype:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'."\n";
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

but in my javascript error console, im getting this message that i dont know how to fix as i get the doctype from the W3C website

Error: missing ; before statement
Source File: http://www.searobin.co.uk/
Line: 8, Column: 10
Source Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
0
Comment
Question by:ellandrd
  • 2
3 Comments
 
LVL 11

Expert Comment

by:Manish
ID: 18784878
>><?xml version="1.0" encoding="UTF-8"?>
Is it HTML or xml?
0
 
LVL 11

Expert Comment

by:Manish
ID: 18784883
After removing will it works?
0
 
LVL 28

Accepted Solution

by:
TName earned 500 total points
ID: 18784971
Try to remove the empty js link (at least as long as it doesn't point to a file...)

<script src="" type="text/javascript"></script>
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create CSS Animation for Page Transitions 4 38
Writing comments on <p></P> or paragraph 2 19
Index on a Table 6 25
Word, Excel, Access icons 4 17
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

856 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