Difference between HTML and XHTML☆
What is HTML?
Html is a language used to describe web pages and is the basis of all web pages.
- HTML stands for Hyper Text Markup Language
- HTML is not a programming language, but a markup language
- A markup language is a set of markup tags
- HTML uses markup tags to describe web pages
What is XHTML?
XHTML is a stricter and cleaner version of HTML. ****
- XHTML stands for Extensible HyperText Markup Language.
- The goal of XHTML is to replace HTML.
- XHTML is almost identical to HTML 4.01.
- XHTML is a stricter and cleaner version of HTML.
- XHTML is HTML redefined as an XML application.
- XHTML is a W3C standard.
Difference Between HTML and XHTML
- XHTML elements must be properly nested.
- XHTML elements must be closed.
- Tag names must be in lowercase letters.
- XHTML documents must have a root element.