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 docuement is serialized in XHTML syntax, it becomes an XML document.

When an HTML docuement 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/.

 

Introduction of HTML

⇒⇒HTML Tutorials

2017-02-24, 158👍, 0💬