Basic and Advance XML Programming Question:

Describe the differences between XML and HTML?

Tweet Share WhatsApp

Answer:

t's amazing how many developers claim to be proficient programming with XML, yet do not understand the basic differences between XML and HTML. Anyone with a fundamental grasp of XML should be able describe some of the main differences outlined in the table below.

Differences Between XML and HTML

XML
► User definable tags
► Content driven
► End tags required for well formed documents
► Quotes required around attributes values
► Slash required in empty tags

HTML
► Defined set of tags designed for web display
► Format driven
► End tags not required
► Quotes not required
► Slash not required

Download XML PDF Read All 27 XML Questions
Previous QuestionNext Question
Why is XML such an important development?Describe the role that XSL can play when dynamically generating HTML pages from a relational database?