June 2013
Intermediate to advanced
236 pages
4h 33m
English
The Doctype of the document is declared by using the doctype keyword followed by an optional Doctype value. If no value is specified, it defaults to html. Alternatively, you can use !!! instead of doctype.
The following table lists the predefined values of Doctype:
|
Jade |
HTML |
|---|---|
|
doctype
|
<!DOCTYPE html>
|
|
doctype 5
|
<!DOCTYPE html>
|
|
doctype default
|
<!DOCTYPE html>
|
|
doctype transitional
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
doctype strict
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
doctype frameset
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ... |
Read now
Unlock full access