Why isn't XHTML2 backwards compatible?

Answer Posted / guest

It is, but in a different way to how previous versions of
HTML were backwards compatible.

Because earlier versions of HTML were special-purpose
languages, it was necessary to ensure a level of backwards
compatibility with new versions so that new documents would
still be usable in older browsers. For instance, this is why
the <meta> element has its content in an attribute rather
than in the content of the element, since it would have
shown up in older browsers.

However, thanks to XML and stylesheets, such strict
element-wise backwards compatibility is no longer necessary,
since an XML-based browser, of which at the time of writing
means more than 95% of browsers in use, can process new
markup languages without having to be updated. Much of XHTML
2 works already in existing browsers, browsers that are not
pre-programmed to accept XHTML2. Much works, but not all:
when forms and tables were added to HTML, people had to wait
for new version of browsers; similarly some parts of XHTML
2, such as XForms and XML Events, still require user agents
that understand that functionality.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of 'output' tag in HTML5?

484


What is htmlinputelement?

420


What is local storage in html5? How it is used?

447


What is the meaning of dynamic web page?

458


How many types css can be include in html?

440






What are the different way in which website layout can be made?

411


Is local storage have a lifetime to clear the stored data?

457


How to write the opening tag of an xhtml element?

470


What is html tags used for?

446


What are inline elements and block-level elements in html?

449


What is the full form of a tag?

435


Are meta keywords still relevant 2019?

450


If you see a web address on a magazine, to which web page does it point?

505


What does a href tag mean?

418


What iscell spacing and cell padding?

501