Relation between HTML and XML

Q

What Is the relation between HTML and XML?

✍: FYIcenter.com

A

XML (Extensible Markup Language) is a generic markup language to organize generic information into a structured document with embedded tags.

HTML a specific markup language to organize Web information into a structured document.

When an HTML document is serialized in XHTML syntax, it becomes an XML document.

When an HTML document is serialized in HTML syntax, it becomes a text document with embedded tags similar to an XML document.

So HTML is related to XML only if an HTML document is serialized in the XHTML document.

For more information on XML, please visit http://www.w3.org/XML/.

 

Relation between HTML and HTTP

Relation between HTML and XHTML

Introduction of HTML

⇑⇑ HTML Tutorials

2024-01-31, 1389🔥, 0💬