|
Answer» Both HTML (Hypertext Markup Language) and XHTML (Extensible Hypertext Markup Language) can be USED to create web-based and Android applications. | HTML | XHTML |
|---|
| HTML is basically a SGML (Standard Generalized Markup Language) application. | XHTML is just an XML (Extensible Markup Language) application. | | It is not case sensitive. It is not necessary to use LOWER or upper case for TAGS and attributes. | It is case sensitive. This means that every TAG and attribute must be lowercase. | | It is not necessary to mention quotes when using attributes. For e.g., <InterviewBit>. | It is necessary to mention quotes when using attributes. For e.g. <InterviewBit=”SCALER”>. | | .html and .htm are the filename extensions used. | .xhtml, .xht, and .xml are the filename extensions used. | | There is no need to write the Doctype (document type) at the top. | It is very important to write the Doctype (document type) at the top of your file. |
|