- From: Philip Taylor <P.Taylor@Rhul.Ac.Uk>
- Date: Sun, 21 Sep 2014 11:42:19 +0100
- To: Steve Faulkner <faulkner.steve@gmail.com>
- CC: "www-validator@w3.org" <www-validator@w3.org>
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
Received on Sunday, 21 September 2014 10:43:12 UTC