Describe the differences between XML and HTML. Dependra Pathak198218-Mar-2011xmlxml Updated on 21-Sep-2020
Dependra Pathak
18-Mar-2011The 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