Version-//W3C//DTD HTML 4.01//EN
ElementHTML
Purposedocument root element
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
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text; lang, dir
lang NAME #IMPLIEDlanguage code as RFC1766; language code
Content( HEAD , BODY )
End tagOptional </HTML>
Referenced in
search Search · star Market
2023-06-19 · John December · Terms © johndecember.com