Difference among XML HTML XHTML | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren

Difference among XML HTML XHTML

What is the difference among XML HTML and XHTML?

2nd Jan 2018, 5:38 AM
Prakhar Saxena
Prakhar Saxena - avatar
1 Antwort
+ 2
HTML is the HyperText Markup Language, which is designed to create structured documents and provide for semantic meaning behind the documents. HTML5 is the next version of the HTML specification. XML is the Extensible Markup Language, which provides rules for creating, structuring, and encoding documents. You often see XML being used to store data and to allow for communication between applications. It's programming language-agnostic - all of the major programming languages provide mechanisms for reading and writing XML documents, either as part of the core or in external libraries. XHTML is an XML-based HTML. It serves the same function as HTML, but with the same rules as XML documents. These rules deal with the structure of the markup.
2nd Jan 2018, 11:33 AM
Mohamed Shublaq
Mohamed Shublaq - avatar