Schema Central Home  |  XHTML 1.0 Strict Overview  |   Search XHTML 1.0 Strict:
   Advanced Search
XHTML 1.0 Strict

html

Element Information

Namespace: http://www.w3.org/1999/xhtml

Schema Document: xhtml1-strict.xsd

Properties: Global, Qualified

Type: Anonymous

Content

  • Sequence [1..1]
    1. head [1..1]     content model is "head.misc" combined with a single title and an optional base element in any order
    2. body [1..1]    

Attributes

NameOccTypeDescriptionNotes
lang [0..1]LanguageCodefrom group i18n  
xml:lang [0..1]Anonymousdenotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited. from group i18n  
dir [0..1]Anonymousfrom group i18n  
id [0..1]xsd:ID

Sample Instance

<html>
   <head>
      <script type="string">Any text</script>
      <title>Any text</title>
      <script type="string">Any text</script>
      <base href="http://www.example.com/"/>
      <script type="string">Any text</script>
   </head>
   <body>
      <p>Any text, intermingled with:
         <a href="http://www.example.com/">Any text, intermingled with:...
         </a>
      </p>
   </body>
</html>

Recommended Reading:

Definitive XML Schema