Why the need for XHTML? - XML

Why the need for XHTML?

What is XHTML?

- It is the next version of the HTML.

- It is the next step evolution of the Internet.

- XHTML stands for Extensible HyperText Markup Language.

- It helps to web developers to make the transition from HTML to XML.

- These elements always be closed.

- In the declaration of XHTML is mandatory.

Need for XHTML:

- If a script in an HTML document is not well formed, small devices like mobile phones fail to display the content properly.

- Also, upgrading all the browsers to support XML is a timely affair. An intermediate solution is XHTML that is a combination of HTML and XML.

- In XHTML the content has to be well formed so that there is no bad HTML.

- It gives you a more consistent, well-structured format.

- It defines a quality standard for your webpages.

- It combines strength of HTML and XML.
Explain the XHTML syntax rules - XML
Some Syntax rules that need to be followed with XHTML are: That Attribute names must be in lower case, their values must be in quotes and their minimization is done away from usage.......
XMLHttpRequest Object Properties - XML
The ‘onreadystatechange’ property fires at every state change event. The ‘readyState’ property is an object status integer......
XMLHttpRequest Object Methods - XML
The abort() is used to stop the current request. The getAllResponseHeaders() method is used to return the full set of headers as a string.......
Post your comment