Guten Abend!
Ich hab wiedermal ein Problem...
Habe meine Seite durch den Validator geschickt und der spuckt mir folgendes aus:
PHP-Code:
Line 5, Column 73:
NET-enabling start-tag requires SHORTTAG YES
.…pe" content="text/html; charset=iso-8859-1" />
The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/'
terminates the tag <FOO (with an implied '>'). However, since many
browsers don't interpret it this way, even in the presence of an HTML 4.01
Strict DOCTYPE, it is best to avoid it completely in pure HTML documents
and reserve its use solely for those written in XHTML.
Nach allem was ich bisher gelesen habe, ist wohl das / schuld.
Wie kann ich denn die Angaben im Head-Bereich, also den Doctype etc ändern? automake-template übernimmt da nicht die Daten aus meinem Template...
Was ich habe:
PHP-Code:
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!--
This website is powered by TYPO3 - inspiring people to share!
TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2008 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://typo3.com/ and http://typo3.org/
-->
und was ich gern hätte:
PHP-Code:
<?xml version="1.0" encoding="utf-8"?>
<!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="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--
This website is powered by TYPO3 - inspiring people to share!
TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://typo3.com/ and http://typo3.org/
-->
Hat jemand einen Denkanstoß für mich?
Vielen Dank!
Lesezeichen