Results 1 to 2 of 2

Thread: What is XHTML?

  1. #1
    Join Date
    Nov 2009
    Posts
    76,596

    Default What is XHTML?

    XHTML is a family of current and future document types and modules that reproduce, subset, and extend HTML4. XHTML family document types are XML based, and ultimately are designed to work in conjunction with XML-based user agents. The details of this family and its evolution are discussed in more detail in [XHTMLMOD].

    XHTML 1.0 is the first document type in the XHTML family. It is a reformulation of the three HTML 4 document types as applications of XML 1.0 [XML]. It is intended to be used as a language for content that is both XML-conforming and, if some simple guidelines are followed, operates in HTML 4 conforming user agents. Developers who migrate their content to XHTML 1.0 will realize the following benefits:

    XHTML documents are XML conforming. As such, they are readily viewed, edited, and validated with standard XML tools.

    XHTML documents can be written to operate as well or better than they did before in existing HTML 4-conforming user agents as well as in new, XHTML 1.0 conforming user agents.

    XHTML documents can utilize applications that rely upon either the HTML Document Object Model or the XML Document Object Model [DOM].

    As the XHTML family evolves, documents conforming to XHTML 1.0 will be more likely to interoperate within and among various XHTML environments.

    The XHTML family is the next step in the evolution of the Internet. By migrating to XHTML today, content developers can enter the XML world with all of its attendant benefits, while still remaining confident in their content's backward and future compatibility.


    HTML Tutorial

    [HTML Tutorial] Heading, h1, h2, h3, h4, h5 and h6 Tags
    HTML IMG Tag. Displaying Images in Web Page
    Last edited by sherlyk; 03-21-2014 at 06:26 AM.

  2. #2
    Join Date
    Nov 2009
    Posts
    76,596

    Default

    Why the need for XHTML?

    The benefits of migrating to XHTML 1.0 are described above. Some of the benefits of migrating to XHTML in general are:

    Document developers and user agent designers are constantly discovering new ways to express their ideas through new markup. In XML, it is relatively easy to introduce new elements or additional element attributes. The XHTML family is designed to accommodate these extensions through XHTML modules and techniques for developing new XHTML-conforming modules (described in the XHTML Modularization specification). These modules will permit the combination of existing and new feature sets when developing content and when designing new user agents.

    Alternate ways of accessing the Internet are constantly being introduced. The XHTML family is designed with general user agent interoperability in mind. Through a new user agent and document profiling mechanism, servers, proxies, and user agents will be able to perform best effort content transformation. Ultimately, it will be possible to develop XHTML-conforming content that is usable by any XHTML-conforming user agent.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •