Can anyone please explain what is the difference between xml and html?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Can anyone please explain what is the difference between xml and html??

27th Mar 2018, 3:14 PM
Nicky
Nicky - avatar
4 Answers
+ 4
thanks @raj chhatrala
27th Mar 2018, 3:30 PM
Nicky
Nicky - avatar
+ 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/
27th Mar 2018, 3:32 PM
***
*** - avatar
+ 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.
31st Mar 2018, 6:30 AM
Durg@😊