Relation between HTML and XHTML

Q

What Is the relation between XHTML and HTML?

✍: FYIcenter.com

A

Technically speaking, the HTML standard introduces one abstract langauge and three concret syntaxes to represent an HTML document in different formats:

1. HTML language - An abstract language that describes a Web document in constructed. It is used to generate an abstract HTML document.

2. HTML serialization - A concret serialization syntax that describes how a HTML document can be represented as a text file.

3. XHTML serialization - A concret serialization syntax that describes how a HTML document can be represented as an XML file.

4. DOM API - A concret API syntax that describes how a HTML document can be represented as in-memory object.

So XHTML and HTML is closely related. XHTML defines how to use an XML file to represent an HTML document.

 

⇒Introduction of HTML

⇒⇒HTML Tutorials

2017-02-20, 863👍, 0💬