Document Type Declaration in Typo3

ott
24
2004

Normalmente le pagine html create da Typo3 presentano il Doctype HTML 4.0 Transitional:

DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"

Nel caso vogliate modificarlo nel Doctype XHTML 1.0 Transitional:

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

basterà inserire la riga:

page.config.doctype = xhtml_trans

all’interno del Setup del vostro template.

Ovviamente questa modifica non renderà tutto il vostro sito XHTML compatibile, per ottenere questo dovrete mettere mano al vostro template.

Related Posts with Thumbnails



I commenti sono chiusi.