XML Interview Questions and Answers
Question: Describe the differences between XML and HTML?Answer: It'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 |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is XML?
- What is a markup language?
- Describe the differences between XML and HTML?
- Can you walk us through the steps necessary to parse XML documents?
- Where should I use XML?