Top Level Structure of HTML5 Documents


What is the Top Level Structure of an HTML5 Document?



The top level structure of an HTML5 document in HTML serialization format consists of two parts:

  • Document type declaration - Provides the document type and version information.
  • Document root element - Provides the root element of the document: html.

The following tutorial sample shows you how the HTML5 document top level structure looks like:

<!DOCTYPE html>
 (Second level structure)


Introduction of HTML5

⇒⇒HTML Tutorials

2017-02-21, 158👍, 0💬