Home > DeveloperSection > Interviews > Describe the differences between XML and HTML.

Posted on    March-18-2011 12:00 AM

 XML XML 
Ratings:
 1 Answer(s)
  1001  View(s)
Rate this:

Dependra Pathak
Dependra Pathak

Total Post:77

Points:385
Posted on    March-18-2011 12:00 AM

The main differences are

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


Don't want to miss updates? Please click the below button!

Follow MindStick