+ 1

What is the difference between HTML and XML?

23rd Jan 2017, 8:02 AM
Aditya Kumar
Aditya Kumar - avatar
3 Answers
0
HTML is used to create basic structure for a webpage. The browser parse the HTML text and create User interface with that following W3C standard. Since HTML tags are fixed in standard, you can't create new tags in general (it's possible now with HTML5). XML is generally used to store text data only. Text data is easy to arrange in XML, which can later be sent as a response from Webserver to the requesting webpage or app.
23rd Jan 2017, 8:31 AM
Mvania
Mvania - avatar
+ 3
That html is not "eXtensible". Apart from that, they're often used for different reasons. There are some other differences, for example, the fact that html code has default styling applied to certain tags.
23rd Jan 2017, 8:15 AM
Dao
Dao - avatar
+ 3
The Extensible Markup Language is a generic markup metalanguage that derives from SGML. This syntax is called "extensible" because it allows to define different namespaces, that is, languages ​​with each their vocabulary and grammar, such as XHTML, XSLT, RSS, SVG ... It is recognizable by its use of Rafters (<,>) framing the tags.
23rd Jan 2017, 8:46 AM
visph
visph - avatar