»  Internet


By: Michael Roberts   
Date Added : June 3, 2011 Views : 460


XHTML(Extensible Hypertext Markup Language) is a extend version of HTML(Hypertext Markup language), which is used for web pages. XHTML is a W3C recommendation. XHTML is a combination of HTML and XML(Extensible Markup Language). XHTML was developed to make HTML more extensible and increase interoperability with other data formats.

XHTML is a fairly rigid markup language. Its rules are very straightforward, and it really has very little extensibility -- that is, you can't write your own definitions to dictate how the language behaves; you've got to follow its rules. XHTML 1.0 adopts concepts that were introduced in HTML 4.0, which requires structured and methodological behavior before it is valid.

With the use of “XHTML” Web developers can create their own objects and tags for each Web page they build. This gives the developers more control over the appearance and organization of their Web pages.

XHTML provides a document type that can be shared across devices (e.g. desktop, TV, and mobile phones), and that is rich enough to be used for simple content authoring. Thus an XHTML document can be presented on the maximum number of Web devices & most importantly to the maximum number of potential customers using new technologies.


Advantages of  XTML:

  • Accessibility to screen readers and other browsers for the visually impaired.

  • Becoming the language of choice for browsers on cell phones and mobile devices.

  • Compatible with programs written in XML (eXtensible Markup Language).

  • More “Future-Friendly” with the emerging advancements in internet technology.

  • It provides the bridge for web designers to enter the web of the future, while still being able to maintain compatibility with today's HTML 4 browsers.

  • Web-based forms with enhanced interactivity and features.

  • It is possible to use XML tools with it.


Features of XHTML:

  • All the XHTML documents should have a root element.

  • All the elements including the empty tags should be closed.

  • XHTML elements must be in smaller case.

  • XHTML elements should be nested in pairs.

  • All attributes should be in lower case.

  • All the attribute values must be quoted.

  • All the XHTML documents should have a <!doctype>.

XHTML breaks new ground on the Web, giving authors a way to mix and match various XML-based languages and documents on their Web pages. It also provides a framework for nontraditional Web access devices -- from toasters to television sets -- to identify themselves and their capabilities to Web servers, pulling down only information that those devices can display.

XHTML makes it easy to create documents that can be seen by all kinds of new devices. Additionally, with a little studying, you can create much more powerful pages than ever before. Lastly, XHTML is the bridge to XML -- the future language of the Internet..

eXTReMe Tracker