XHTML 2.0 Code

Welcome to XHTML2code.co.uk, information and tips on XHTML 2.0!

Introduction to XHTML

XHTML stands for Extensible Hypertext Mark-up Language and is a hybrid of HTML (Hypertext Mark-up Language) and XML (Extensible Markup Language). XHTML is designed to remain constant acrss different platforms and is far stricter than HTML.

XHTML 2.0

XHTML 2.0 is currently under development but is set to be the next big language for web designers. It is a controversial development as it will break backward compatibility with some aspects of XHMTL and HTML.

The main conceptual difference for designers to understand is that all presentational aspects have been removed. This must now all be contained in the CSS (Cascading Style Sheets).

New Features

XHTML 2.0 will introduce several new features to the HTML mark-up language including:

  • XForms
  • XFrames
  • XML Events to replace DOM events
  • An “nl” list type to add to “ul” (Unordered List) and “ol” (Ordered List) designed for navigational links
  • In XHTML 2.0 any element can be used as a hyperlink
  • Alt attributes have been removed and must be specified within the element iself now
  • Now headings can be achieved with an “h” tag, the level of which will be determined by it's position in the page allowing for an unlimited number of heading lavels

Should I use XHTML 2.0?

Right now the only good answer is no, as it stands browsers wont fully support it and your visitors will not benefit from it. Saying that though XHTML 2.0 is the future of HTML and you will need to make the switch once the language is officially released and fully supported!