What Is XHTML
EXtensible HyperText Markup Language (XHTML) requires that all tags should be in lowercase. XHTML requires that all tags should be closed properly. XHTML requires that all attributes are enclosed in double quotes. XHTML forbids inline elements from containing block level elements.
XHTML is identical to HTML but More strict than the HTML.
|
HTML |
XHTML |
Abbreviation |
HyperText Markup Language. |
EXtensible HyperText Markup Language. |
Case-Sensetive |
Not Case-Sensetive |
Case-Sensetive |
File Type |
For HTML, document file format. |
For XHTML, Markup language as file format. |
Media Type |
For HTML, It is text/html. |
For XHTML,It is application/xml/xhtml. |
Expressive |
For HTML, Less Expressive. |
For XHTML, More Expressive. |
File Type |
For HTML, It is text/html. |
For XHTML,It is application/xml/xhtml. |