The XHTML Family:
HTML in XML.

Steven Pemberton.

CWI, Amsterdam, and W3C.

Chair, W3C HTML and Forms Working Groups.

If we've got XML, do we need HTML?

This was a question asked at a two-day workshop in San Francisco.

The answer was "Yes":

Still need for improvement.

The HTML Working group.

Main aims of the XHTML family.

Plan of action.

XHTML 1.0.

Differences.

Because of the difference between SGML and XML, there are some necessary differences, for instance:

Use of a small number of guidelines allows XHTML to be served to HTML user agents as well as XML user agents.

Examples of Guidelines.

Example XHTML 1.0.

<!DOCTYPE html PUBLIC 
 "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xml:lang="en">
  <head><title>Virtual Library</title></head>
  <body>
    <p>Moved to
       <a href="http://vlib.org/">vlib.org</a>.
    </p>
  </body>
</html>

Modularisation.

Use of Modularisation.

XHTML Basic.

XHTML 1.1.

Ruby.

Example Ruby markup:

<ruby>
  <rb>WWW</rb>
  <rp>(</rp><rt>World Wide Web</rt><rp>)</rp>
</ruby>

Use CSS to describe presentation.

XHTML 2.0.

Forms.

Events.

Accessibility problems.

Example of structure.

<section>
    <h>XHTML</h>
    ...
    <section>
            <h>Structure</h>
            ...
    </section>
</section>

Conclusions.

To Find Out More.