Interview Questions

Does XML replace HTML?

XML Interview Questions and Answers


(Continued from previous question...)

22. Does XML replace HTML?

No. XML itself does not replace HTML. Instead, it provides an alternative which allows you to define your own set of markup elements. HTML is expected to remain in common use for some time to come, and the current version of HTML is in XML syntax. XML is designed to make the writing of DTDs much simpler than with full SGML. (See the question on DTDs for what one is and why you might want one.)

(Continued on next question...)

Other Interview Questions