Differences Between XML and HTML

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is xml and its advantages?

542


How do I find rss feed url?

526


Can I use java to create or manage xml files?

602


Are there any keywords present in XML that cant be re-used while describing tags ? If so, list them.

1622


How to transform an xml into xhtml? : xslt

564






Is xml schema required?

548


Is xml a docx?

549


What is an xml node?

593


What is xsl fo documents? Explain xsl-fo documents structure?

490


How do I write my own dtd?

585


What is selectnode method will give?

1739


Is api a web service?

532


Why is xslt used?

543


What is e4x in reference to xml?

598


How you can enhance your XSL test?

597