Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 561
  • Last Modified:

doctype error

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
ellandrd
Asked:
ellandrd
  • 2
1 Solution
 
ManishLeadCommented:
>><?xml version="1.0" encoding="UTF-8"?>
Is it HTML or xml?
0
 
ManishLeadCommented:
After removing will it works?
0
 
TNameCommented:
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now