doctype not found

Soldato
Joined
30 Jun 2003
Posts
2,807
Location
Berkshire
can someone tell me why its saying no doctype found on my site?

Code:
<?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">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	
	<meta http-equiv="content-type" 
		content="text/html;charset=UTF-8" />
	<meta http-equiv="Content-Style-Type" content="text/css" />

  <title>
   title
  </title>
  <link href="style.css" rel="stylesheet" type="text/css" />
</head>

Thanks
 
Looks fine to me. Can you link to the actual document that is giving the error? Try removing extraneous whitespace (though it shouldn't matter):
Code:
<?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">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <title>title</title>
  <link href="style.css" rel="stylesheet" type="text/css" />
</head>
 
Back
Top Bottom