Differences Between XML and HTML
Answers were Sorted based on User's Feedback
Answer / guest
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 This Answer Correct ? | 6 Yes | 0 No |
Answer / bhaskar bhattacharjee
XML is used to carry the contents.
HTML is used to display the contents.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the main use of an xslt file?
What is an xml file for video?
While writing an xml document what are the rules that are to be followed?
What happens when an xml namespace declaration goes out of scope?
What is xml and why it is used?
What exactly is xml?
What exactly is json?
What are the ways to create a tree view control using XML, XSL & JavaScript?
How do you attach an XSL to an XML in presenting output ?
What is an xml schema used for?
Why is web xml needed?
How do I identify the document type of an xml document?