render html output in frontend with doctype html5

If you want that TYPO3 renders the html output in frontend as html5, you have to change the doctype directive.

Put this in the global TYPOSCRIPT setup

config.doctype = html_5

This is valid since TYPO3 version 4.4.

Dieser Beitrag wurde am von in TYPO3 veröffentlicht. Schlagworte: , , , .

Über Erdal Gök

Erdal Gök is a web consultant. He works since 1996 as a webworker and is self-employed since 2004. His main skills starts from building concepts for web-projects over designing and implemanting web-frameworks like TYPO3 or creating frontend templates on HTML / CSS or getting interactivity with Javascript.

2 Gedanken zu „render html output in frontend with doctype html5

  1. Thorsten

    The correct doctype for HTML5 is “html5″ without the underscore. The html_5 declaration is deprecated.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.