ellandrd
asked on
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">
<?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">
After removing will it works?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Is it HTML or xml?