Problem mit Doctype Angabe
Markus
- html
Hallo,
meine Website beginnt mit folg. Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Wenn ich díe Seite vom W3 Validator überprüfen lasse, wird jedoch folg. Fehlermeldung ausgeworfen:
Error Line 6 column 73: character data is not allowed here.
...e" content="text/html; charset=iso-8859-1" />
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
Error Line 16 column 22: character data is not allowed here.
<base target="_self" />
Hat jemand eine Idee, wo da der Fehler ist, ich blicke da irgendwie nicht durch...
Vielen Dank im voraus.
Gruß
Markus
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Markus,
Ist dein Problem behoben, wenn du eine gültige Dokumenttyp-Angabe [XHTML10 §3.1.1] machst?
Live long and prosper,
Gunnar