Evolution of XHTML
admin on Mar 24th 2009 with 15 commentsNeed of XHTML
XHTML became a W3C recommendation in 2000, and within the next five years we did see many websites framed in XHTML standard.
Prior to XHTML, HTML was the successfully running coding standard on the web, and shared wide popularity. But the amazing thing however is that even after the release of XHTML as the new recommended markup language, HTML did not cease to evolute. Neither did the websites which were framed in HTML stopped to function.
HTML uses XSL to transform it into XML and that too only when HTML is also a well formed XML. Whereas in XHTML, direct transformation with XML can take place.
XHTML was a recommendation of W3C, but it did not condemn the earlier language. Webmasters were also reluctant to use XHTML any soon, given the complexity it involved and the skepticism that comes with everything that’s new. Few webmasters also believed that XHTML would slow down the browser’s speed. To a casual Internet user, an application seems fine as long as it is visually satisfying and user friendly. The HTML websites were running successfully and web designers found it irrelevant to switch to any new method.
Yet the advanced technologies hammered the need of XHTML, and this pushed the designers to leave their doubts and accept XHTML as a comfortable mark-up language. XHTML on the better side, is not entirely different from HTML. They aren’t two different languages altogether. They can be said as two different dialects of the same language.
Benefits of XHTML
They say, “Necessity is the mother of all inventions”. The need for XHTML did not show up when HTML was used successfully by web designers, because that era was not marked by the advanced technologies. Coding was desktop complaint but did not consider the compatibility with 3G Phones. Neither did it apprehend the fast arrival of different web browsers like Google Chrome, Mozilla and others.
Also, the cascading style sheet is capable of controlling all the aspects of page presentation and layout. This saves a lot of precious time of the coder and also helps to cut down the amount of code needed to display a web page properly. So in this context, XHTML offers a dual benefit. And as all major browsers support the Cascading Style Sheets, they can be used without any hitch.
HTML doesn’t bother about proper nesting of the tags, whereas XHTML considers proper nesting of tags which makes it syntax error free.
Hope you liked the post. Social bookmarking and comments are welcome as ever
15 Responses
Dan
Apr 15th , 2009You can use the ‘div’ element in HTML also.
Also, the ‘div’ element itself has almost no semantic meaning whatsoever, and is usually used solely as a hook for CSS-based layout and presentation.
You can also write good clean semantic HTML, styled with CSS without any trouble at all.
The real benefit of XHTML is that it is (supposed to be) valid XML markup, where HTML is not. This means that content maked up in XHTML is much more easily parsed by browsers, search engines, and any other non-human reader.
It really doesn’t have anything to do with compatibility between desktop and laptop computers, etc.
So to be clear, all the benefits of XHTML you describe here are equally valid for clean, semantic HTML and CSS.
Vibha
Apr 16th , 2009@Tom says:
Cease to ‘evolute’?! ‘evolve’, perhaps?
What’s wrong with ‘Evolute’? It means unroll or unfold. I guess it’s a writer’s liberty.
Jim Cook
Apr 16th , 2009XHTML offers no appreciable value over strict, valid and clean HTML. I asked PPK at a web conference if XHTML offered any scripting advantage over HTML, he said it did not. Can’t serve XHTML as XML because of the IEs so it’s served as “text/html” anyway. So why bother? Just to have those XML-ish little slashes at the end of my IMG, INPUT and META tags?
Jin
Apr 16th , 2009There’s no real benefit of XHTML. The main reason is IE(even version
will not serve XHTML as true XML. Given the market share, not a lot of sites actually use the true content type XHTML was designed for.
As far as writing semantic code goes, you can do the same in HTML.
Ankit Bhatia
Apr 18th , 2009@ Rob It isn’t that all “IE browsers are holding back the web”. I agree that browsers former to IE6 are not compatible with XHTML, but with the change of technology, Microsoft has introduced new versions of IE browsers which are fully compatible and semantic with XHTML and CSS.
Also just to update you, the earlier versions of Mozilla were not compatible with XHTML code. As we are living in a dynamic IT environment, almost every minute there is an update and we have to move with the changing technologies.
Sklep Zoologiczny
Apr 23rd , 2009@Ankit Bhatia
Give me a break… IE even IE 8 isn’t compatible with xHTML nor CSS. Maybe your knowledge is based on Microsoft’s marketing mumble? In real world IE is a nightmare of web designers.
Sandeep
Sep 10th , 2009Thanks for posting an article, hope to see best articles in future too.
Designing Studios
Abhijit V. Chaore
Oct 1st , 2010HTML5 is knocking the door. It will be interesting to see what revolutions it brings in web media. Hope you will write something on that too. Thanks.
Trackbacks
Leave a Reply
Archives
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
Our Friends
Recent Posts
- 20 Outstanding Poster Design For Inspiration
- Web Designers Websites: 20 Creative and Inspirational Sites
- Vector Graphics: 20 Incredible Design Inspiration
- 5 Free Assignment Management Tools: Best for Students
- 15 Prominent Flyer Designs for Inspiration
- 15 Best Print Advertising Agencies
- Google Doodles: Best Collection of 2011
- Five Vital Tips To Build Photography Portfolio
- Solargraphy: Long Exposure Photography Record Sun’s Path
- Showcase of Creatively Designed HTML Email Newsletter Templates
- 10 Fantabulous Photography Applications for iPad and iPhone Users
- Participate and Win Free Poster Printing Service from Uprinting





Loading...
Francesco
Apr 15th , 2009- The div element is also allowed and used in HTML.
- The div element gives zero semantic to the code. In fact it is only used to group elements and has no special meaning at all.
You are talking about the advantages of clean code and not about the benefits of XHTML over HTML.