How is XHTML better than HTML?

DWQA QuestionsCategory: Web Design HTMLHow is XHTML better than HTML?
Editor Staff asked 3 weeks ago

How is XHTML better than HTML?

1 Answers
Editor Staff answered 3 weeks ago

Following are the reasons specifying why XHTML is better than HTML:

  • XHTML uses style sheets instead of font, color and alignment tags of HTML.
  • XHTML allows to style sheets and scripts embedding in CDATA section.
  • XML of XHTML makes easy the integration of new elements as subsets of SGML.