Top Level Structure of HTML5 Documents

Q

What is the Top Level Structure of an HTML5 Document?

✍: FYIcenter.com

A

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>
<html>
 (Second level structure)
</html>

 

Introduction of HTML5

⇒⇒HTML Tutorials

2017-02-21, 202👍, 0💬