Doctype

From Wikanual

Jump to: navigation, search

The beginning of an HTML page can indicated to the browser which standards it does follow.

When you enter anything in this setting then INTERDUBS will prepend web pages generated with this line if the html output does not already starts with:

<!DOCTYPE

In other words the rendered page (usually

HTML header 

can override this setting.


There are special values for this keyword:


old

will trigger comaptible behavior to settings before November 26th 2012. In detail this means that for IE the header will be:

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

For all other browsers it will be empty.


The keyword

new 

will cause the generation of

<!DOCTYPE html>

as the keyword.

Personal tools