Re: Will not accept DOCTYPE statement
Philip Taylor <[email protected]>
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Organization | The Chainhurst Consortium |
| Message-ID | <[email protected]> |
Steve Faulkner wrote:
> what is the error?
Line 2, Column 51: DTD did not contain element declaration for document
type name
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
DOCTYPE directive reads :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
W3C recommend :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
Could the missing <?xml version="1.0" encoding="UTF-8"?> account for the
error ?
Philip Taylor