Xhtml

Out of context: Reply #20

  • Started
  • Last post
  • 24 Responses
  • unknown0

    Depends on the version and how far back you're talking about.

    XHTML1.0
    The Transitional, Strict and Frameset versions of XHTML1.0 are simply reformulations of HTML4.01 in XML-compliant markup. The only differences between them are that Frameset allows the document to contain child frames, Transitional is for a document that has legacy markup such as the font and target elements, and Strict is for documents that rely on stylesheets for formatting. XHTML1.0 is broadly backwards-compatible with browsers that can render HTML4.01. Note that care should still be taken with inline comments within scripts and styles, as the document must conform to the rules of XML.

    XHTML Basic
    Newer versions (1.1+) of XHTML are modular. That is, extra elements can be added into the core html markup if and when a suitable Document Type Definition or XML Schema exists. The basic set of HTML elements and attributes are described by XHTML Basic, which is particularly aimed at "lightweight" user agents such as palm-top browsers and mobile devices.

    XHTML1.1
    Developed from XHTML1.0 Strict, XHTML1.1 takes modularity to fruition by allowing inline MathML, SMIL, SVG and similar XML-based languages. Most of the pages on tomoakley.net are written in XHTML1.1 for this reason. At the time of writing it is the latest version of XHTML recommended by the W3C.

    XHTML2.0
    Version 2.0 breaks from the legacies of HTML4.01 and is not intended to be backwards-compatible with basic HTML browsers. More details will be posted here as they become available. The author does not recommend the use of XHTML2.0 because it is likely to change and is not supported in any meaningful way by user agents.

View thread