Category Name Description Example
<!DOCTYPE> Version of (X)HTML HTML 4 Transitional Doctype
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
XHTML Transitional Doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
XHTML Strict Doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html> HTML document
<head> The header contains information about the document as the title of the document, the author, which stylesheet to use and also meta tags
<body> The body tags contain all the information and other visible content on the page. All your images, links and plain text must go between the <body> and </body> tags.