VersionW3C//DTD HTML 3.2 Final//EN
ElementHTML
Purposehtml document outer container
DescriptionThis is the outermost element of an HTML document. The HTML element thus contains all other elements inside the HEAD and BODY elements. You should have just one HTML container in a document. For example:
<HTML>
 <HEAD>
  <TITLE>
   Hello World Demonstration Document
  </TITLE>
 </HEAD>
 <BODY>
  <H1>
   Hello, World!
  </H1>
  <P>
   This is a minimal "hello world" HTML document. 
  </P>
 </BODY>
</HTML>
Start tagOptional <HTML>
Attributes
NameTypeDefaultComment
VERSION CDATA #FIXED '%HTML.Version;'
Content( HEAD , BODY )
End tagOptional </HTML>
Referenced in
search Search · star Market
2023-06-19 · John December · Terms © johndecember.com