Показать сообщение отдельно
Старый 03.05.2007, 14:15   #13
PhilD
Senior Member
 
Регистрация: 10.03.2006
Адрес: Moscow, Russia
Сообщений: 429
Отправить сообщение для PhilD с помощью ICQ Отправить сообщение для PhilD с помощью Yahoo
По умолчанию

page.config.doctype =
Цитата:
If set, then a document type declaration (and an XML prologue) will be generated. The value can either be a complete doctype or one of the following keywords:


"xhtml_trans" for XHTML 1.0 Transitional doctype.

"xhtml_frames" for XHTML 1.0 Frameset doctype.

"xhtml_strict" for XHTML 1.0 Strict doctype.

"xhtml_basic" for XHTML basic doctype.

"xhtml_11" for XHTML 1.1 doctype.

"xhtml_2" for XHTML 2 doctype.

"none" for NO doctype at all.


Note that the keywords also change the way TYPO3 generates some of the XHTML tags to ensure valid XML. If you set doctype to a string, then you must also set config.xhtmlDoctype (see below).


See "config.htmlTag_setParams" and "config.htmlTag_langKey" for more details on the effect on the html tag.


Default is a DOCTYPE like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
http://typo3.org/documentation/docum....1.0/view/7/3/
PhilD вне форума   Ответить с цитированием