Doctype

A Doctype declaration is used to specify the version of HTML that the document is using. The Doctype declaration is not an HTML tag, and it gets its own syntax in GoHT.

Haml supports additional types of Doctype declarations. GoHT does not support these additional types of Doctype declarations. GoHT only supports the HTML5 Doctype declaration.

!!!

renders as:

<!DOCTYPE html>

Another difference between GoHT and Haml is that GoHT does not require the Doctype declaration to be used in the first column. Whether you choose to use the Doctype declaration in the first column or indented in some is up to you. It still cannot be indented under another element though.