What are the advantages of using XHTML rather than HTML?

Answer Posted / guest

If your document is just pure XHTML 1.0 (not including other
markup languages) then you will not yet notice much
difference. However as more and more XML tools become
available, such as XSLT for tranforming documents, you will
start noticing the advantages of using XHTML. XForms for
instance will allow you to edit XHTML documents (or any
other sort of XML document) in simple controllable ways.
Semantic Web applications will be able to take advantage of
XHTML documents.

If your document is more than XHTML 1.0, for instance
including MathML, SMIL, or SVG, then the advantages are
immediate: you can't do that sort of thing with HTML.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a html5 tag?

431


Is it possible to make the html source not viewable?

425


What is a href tag?

415


What is an html file?

444


What is the role of form action?

426






What are the different types of that are available?

461


What is the purpose of 'required' attribute in HTML5?

479


How do I make a link or form in one frame update another frame?

495


Can I prevent a form from being submitted again?

462


What is the need of modular dtds?

457


What is the difference between XML and HTML?

523


How to create nested web page in html?

466


What are some html5 new tags?

512


What is p tag in html?

465


What is span tag in html?

422