Horje
What is HTML Versus XHTML

XHTML is a stricter, more XML-based version of HTML.

Feature HTML XHTML
Definition Hypertext Markup Language is a markup language used to create web pages and other information that can be displayed in a web browser. eXtensible Hypertext Markup Language is a markup language that is a stricter version of HTML and conforms to XML syntax.
Syntax HTML allows for loose syntax, with end tags and attributes often being optional. XHTML requires end tags for all elements and attributes to be quoted.
Document Type Declaration (DTD) HTML allows for multiple DTDs, including HTML 4.01 and HTML5. XHTML requires the use of a specific DTD, such as XHTML 1.0 Strict or XHTML 1.1.
Namespaces HTML does not support namespaces. XHTML supports namespaces, allowing for the integration of other XML languages.
Attributes HTML allows for the use of deprecated attributes. XHTML does not allow the use of deprecated attributes and requires all attributes to be lowercase.
Deprecation HTML will continue to be supported by web browsers. XHTML support by web browsers is limited and it is now largely replaced by HTML5.
Future HTML continues to evolve, with the latest version being HTML5. XHTML development has largely been discontinued, with future developments focusing on HTML5.

 







Related Articles
What is HTML Versus XHTML HTML vs. XHTML
What is XHTML? HTML vs. XHTML
Why XHTML? HTML vs. XHTML
What is The Most Important Differences from HTML HTML vs. XHTML
Why XHTML - <!DOCTYPE> Is Mandatory HTML vs. XHTML
Why XHTML Elements Must be Properly Nested HTML vs. XHTML
Why XHTML Elements Must Always be Closed HTML vs. XHTML
Why XHTML Empty Elements Must Always be Closed HTML vs. XHTML
Why XHTML Elements Must be in Lowercase HTML vs. XHTML
Why XHTML Attribute Names Must be in Lowercase HTML vs. XHTML
Why XHTML Attribute Values Must be Quoted HTML vs. XHTML
Why XHTML Attribute Minimization is Forbidden HTML vs. XHTML
How to Validate HTML With The W3C Validator HTML vs. XHTML


Read Full:
HTML vs. XHTML
Category:
Web Tutorial
Sub Category:
HTML vs. XHTML
Uploaded:
9 months ago
Uploaded by:
Admin
Views:
7



Share on: