1.

Give at least five differences between XML and HTML!!

Answer» \tHTMLXMLIs a markup language.Is a standard markup language that defines other markup languages.Is not case sensitive.Is case sensitive.Doubles up as a presentation language.Is not a presentation language nor a programming language.Has its own predefined tags.Tags are defined as per the need of the programmer. XML is flexible as tags can be defined when needed.Closing tags are not necessarily needed.Closing tags are used mandatorily.White spaces are not preserved.Capable of preserving white spaces.Showcases the design of a web page in the way it is displayed on client-side.Enables transportation of data from database and related applications.Used for displaying data.Used for transferring data.Static in nature.Dynamic in nature.Offers native support.With the help of elements and attributes, objects are expressed by conventions.Null value is natively recognised.Xsi:nil on elements is needed in an XML instance document.Extra application code is not needed to parse text.XML DOM application and implementation code is needed to map text back into JavaScript objects.\t


Discussion

No Comment Found