<!DOCTYPE>

Tag Description

<!DOCTYPE> declares the doctype for the HTML document.

Code Example

<!DOCTYPE HTML>
<HTML>
</HTML>

Notes

  • Contains all HTML5 elements and attributes.
  • No need to specify a DTD.
  • Doctype declaration should be the very first line of a HTML document.