I get the following error (the only one also) when i try to validate my XHTML document:
Line 3, column 2:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http:// ...
^
Error: "DOCTYPE" declaration not allowed in instance
I copied that line from the W3C Recommendation chapter 3.1.1
How does I fix that problem.
My code:
<html>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" />
<head>
Thank you for any help!
-Helge