<html> Tag Syntax

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet ...?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
      ... metadata content ...
      <title>My Title</title>
      ... metadata content ...
   </head>
   <body>
      ... flow content ...
   </body>
</html>
Rules for coding the html element for HTML 5

Make sure you understand the difference between a tag and element and are familiar with the definitions of namespace and other HTML terms.

<html> Content Model

Contents of the <html> Tag

The html element typically contains the following child elements:

possibly interspersed with HTML comments.