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

html

Element Information

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

Schema Document: xhtml1-transitional.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/>
      <script type="string">Any text</script>
   </head>
   <body>Any text, intermingled with:
      <p>Any text, intermingled with:
         <a>Any text, intermingled with:...
         </a>
      </p>
   </body>
</html>

Recommended Reading:

Definitive XML Schema