Home » General Discussion

Benefits of XHTML

21 August 2008 | 2,378 views | No Comment

XHTML is the standard markup language for web documents and the successor to HTML 4. A mixture of classic (HTML) and cutting edge (XML), this hybrid language looks and works much like HTML but is based on XML, the webs markup language, and brings web pages many of XML’s benefits.

Converting from HTML to XHTML is easy, and provides your code with several immediate and long term benefits:

A painless transition to more advanced technology: The web is moving to XML, a powerfully enabling technology. Writing well formed, valid XHTML pages is the easiest way to begin this transition. All it takes is learning a few simple rules of XHTML markup.

Cleaner, more logical markup: XHTML brings uniformity to document structure. The rules of XHTML help restore the structural integrity of documents that was lost during the webs rapid commercial expansion between 1994 and 2001. This is critical for large organizations, whose web pages must interface with logically marked up documents in legacy systems and databases.

Increased interoperability: Unlike old style HTML pages, valid, well formed XHTML documents can easily be transported to wireless devices, Braille readers and other specialized web environments. Moreover, XHTML’s insistence on clean, rule based markup helps us avoid the kind of errors that can make web pages fail even in traditional browsers like Microsoft Internet Explorer, Netscape Navigator, and Opera browser.

Greater accessibility: Because they follow strict rules and avoid non standard markup, well authored XHTML pages are more accessible than old school HTML pages.

If you want your site to work well in today’s browsers and non traditional devices, and to continue to work well in tomorrows, it’s a good idea to author new sites in XHTML, and to convert old pages to XHTML.