If you take any interest in Web technology, you'll have come acrossreferences to XML over the past two years. XML - eXtensible MarkupLanguage - has been touted as ending the theoretical mess of thecurrent HTML (Hypertext Markup Language) and enabling a new generationof Web data exchange.But until now, the gulf between XML and HTML has restricted XML'sspread on the Web. The two are both mark-up languages. They speak verydifferently. It has taken an ingenious new language called XHTML tobring them together.
HTML mixes data and presentation simplistically together, not caringwhat's in a heading or a list. Partly because of this, HTML is aninflexible monolithic standard - an inflexible monolithic standard thatmillions of browsers understand right now, and on which a powerful newmedium has been built.
XML is a language for describing sets of data, and it has alreadybeen enthusiastically adopted by leading-edge software engineers,document publishers and people who exchange data. It leaves a separateacronym - sorry, language - called XSL to take care of presentation.And unlike HTML, XML can be extended with sets of tags defined by thecreators of an XML document. But it's very different from HTML. Many ofthe browsers out there today don't understand it; many of the Webdevelopers are equally mystified.
XHTML brings XML to today's Web, relatively painlessly and withoutthe five-year wait for everyone to adopt XML-compliant browsers. XHTMLtakes many of the merits of XML and plugs them into a revised versionof the current HTML 4.0 specification. It's a stricter, neater HTMLdialect, but you'll recognise it instantly if you know HTML. It letsyou "modularise" your site mark-up, explaining to browsers and otherWeb-readers just what tags each page requires. You can also includesnippets of non-HTML XML in your XHTML documents wherever that'sappropriate. And XHTML lets you define your own tags in a way that anyXML-compliant browser will understand. Think of XHTML as HTML 5.0; justremember that it's a particularly significant and powerful upgrade.
It's also one of those upgrades that's beautifully compatible withprevious versions. Build your pages as XHTML, and most browsers willstill understand them just fine.
XHTML does ask you to change your current HTML documents, but itdoesn't ask the world. Your documents will need some alien-looking newheaders; you must put quote marks around tag attributes; the humblebreak tag, <br>, now becomes <br />, and so on. But a goodsearch-and-replace tool will take care of much of the XHTMLtransformation. And Web sites that already create pages out oftemplates and databased content using code-based editing tools willfind the transformation particularly easy.
That copy of FrontPage on your PC won't create XHTML pages. But acombination of standard text-based Web editors and the tools detailedbelow will let you start building XHTML pages.
XHTML became an official W3C recommendation back in January 2000.With that recommendation, the Web's past and its future were officiallylinked.
This site has made a practice of questioning alleged "breakthroughs"in the Web industry. But XHTML really does deserve to be takenseriously right now.
Related Articles
- HTML To XHTMLIf someone just says that this is the high time when you should convert your site from HTML to XHTML - you can halt or not. But if he can say this with proper logic then you must be going through his decision - adaptibility is another thing. So at first you must know basically what XHTML is. XHTML i...
- XHTML vs. HTMLA quick introduction to XHTML
- Why You Shouldn't Be Using XHTMLA lot of people these days are using XHTML. Why? Do they actually need it or are they just following a trend?
- What is XHTML?We have all heard of HTML. HTML stands for Hypertext Markup Language. What is a hypertext markup language, you ask? It is a language for specifying how certain text should appear. When you design a web page, you want certain content or text to be displayed in a specific way.
- Comprehensive Guide to XhtmlSince some time, the internet has been relying on HTML... or Hyper Text Markup Language... Since its been invented, many tries to replace it have been thought up, but none as successfull as XHTML (eXtensive Hyper Text Markup Language)... lets say that its HTML cleaned up...
- Code Validation & Compliancy - The New Beginning XHTMLCode validation is still widely debated as to whether it is required for performance within the search engines. It is only a guess that the search engines dont utilise it within their algorithm, but nobody is actually 100% sure on that fact...
- XHTML and StylesheetsWant to build website content that can be processed by XML-compliant tools? If you answered yes, then its time to learn the rules governing XHTML.
- Why is Validation Important?Validation in your webpages is very important as proven in this tutorial. In this tutorial youll learn about Validation and how you should be making the effort to get validated!
- highlight_string(); With Valid XHTML 1.0 Strict OutputThis small guide aims to take the standard output from the PHP function highlight_string() and make it completely valid XHTML 1.0 Strict.
- Server Side IncludesThis very helpful tutorial makes it much easier to make changes throughout your entire website. It is easy to follow and has plenty of code.
