XHTML is HTML that is also well-formed XML. The main differences between HTML and XHTML are:

The sample that follows shows the XHTML structure of an ATG Search structured document. The <head> element contains the title and properties, and the <body> element contains the fielded text statements. Any other XHTML elements are ignored in terms of interpreting the structure, although some elements can denote paragraph boundaries within the statement text, such as <p> elements.

<meta name="atg:type:prop" content="value" scheme="displayName=displayValue" />
<div class="atg:role:field" id="n">
statement text

The XHTML standard is described in detail at www.w3.org,

loading table of contents...