$doctype
variable
- $doctype
type
- textual (but not visible)
associated template variable
- none
description
This variable specifies the DOCTYPE under which you want your website to published.
examples
$doctype:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
$doctype:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
notes
DOCTYPEs are an advanced topic that will not be covered here. Vine Type recommends keeping the default
$doctype
value, but provides customization capability for advanced website designers.The DOCTYPE element specifies the W3C specification that you claim your website supports. Changing the DOCTYPE value can alter the way browsers display your website pages, so alteration of the
$doctype
value should be made with care and understanding.