Einzelnen Beitrag anzeigen
  #3  
Alt 12.04.06, 11:13
Eyüp Eyüp ist offline
TYPO3 Forum Team
Moderator
 
Registriert seit: 09.02.06
Ort: Viernheim
Alter: 23
Beiträge: 249

Also auf typo3.net Ref:

Zitat:
Wenn der Wert xhtml_frames ist, wird ein Header für XHTML-frames ausgegeben.
Wenn der Wert xhtml_trans ist, wird ein Header für XHTML transitional ausgegeben:
<?xml version="1.0"
encoding="[config.metaCharset]"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML
1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/
DTD/xhtml1-transitional.dtd">
Schlüsselwort-Liste:
xhtml_trans für XHTML 1.0 Transitional doctype
xhtml_frames für XHTML 1.0 Frameset doctype
xhtml_strict für XHTML 1.0 Strict doctype
xhtml_11 für XHTML 1.1 doctype
xhtml_20 für XHTML 2 doctype
none für überhaupt keinen doctype
Jeder andere Wert als diese Schlüsselwörter wird als doctype selber ausgegeben. Beachten Sie, dass einige doctype-Schlüsselwörter (alle xhtml*-Schlüsselwörter) auch angemessene Attribute für den <html>-Tag setzen. Siehe config.htmlTag_setParams und config.htmlTag_langKey unten für weitere Details
Im TSRef
Zitat:
If “xhtml_frames” then a header for XHTML-frames is outputted.

If value is "xhtml_trans" then a header for XHTML transitional is outputted:

<?xml version="1.0" encoding="[here goes config.metaCharset!]"?>

<!DOCTYPE html

PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Keyword list:

keyword “xhtml_trans” for XHTML 1.0 Transitional doctype.

keyword “xhtml_frames” for XHTML 1.0 Frameset doctype.

keyword “xhtml_strict” for XHTML 1.0 Strict doctype.

keyword “xhtml_11” for XHTML 1.1 doctype.

keyword “xhtml_2” for XHTML 2 doctype.

keyword "none" for NO doctype at all.

Any other value than these keywords will be outputted as the doctype itself!

Notice that some doctype keywords (all the xhtml* sorts) will set appropriate attributes for the <html> tag as well. See "config.htmlTag_setParams" and "config.htmlTag_langKey" below for more details.

Default is a DOCTYPE like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
:D
__________________
Free SMS verschicken
Mit Zitat antworten