+ 7
Can anyone please explain what is the difference between xml and html??
4 Answers
+ 4
thanks @raj chhatrala
+ 2
xml focusses on describing data and the contents of it. Html focusses on displaying data.
In real world applications you would use HTML for building your front-end (in combination with css and js)
You would use XML for configuration files and SOAP services (using xml as a format to communicate between two systems like back-end and front-end)
I hope this makes it more clear for you :)
further reading:
http://www.xmlobjective.com/what-is-the-difference-between-xml-and-html/
+ 1
xml is a markup language containing structured information.it contains both content and some indication.the xml specifications defines a standard way to add markup to documents.
html
this language tells the browser like mosaic or netscape or internet explorer how to display text,pictures,links on the screen.it is a document layout,hyperlink specification language.it is just a page layout and hyperlink specifications language.it provides various layout commands called tags that let you control the presentation.