Why do I have to use these namespace things in XHTML?
Answer / guest
In the early days of HTML different groups and companies
added new elements and attributes to HTML at will. This
threatened to cause a chaos of different non-interoperable
versions of HTML. XML (the X stands for Extensible) allows
anyone to use elements and elements from different
languages, but for a browser or other user agent to know
which element belongs to which language, you have to tell
it. The namespace declarations do just that.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can attribute values be set to anything or are there specific values that they accept?
Is html client side?
What are the various tags provided for better structuring in HTML5?
What are empty elements?
What is the simplest html page?
How we can create dropdown list control in html?
What are the types of labels?
What is html lang en?
How many tags can be used to separate a section of texts?
What does a href mean?
What is the purpose of 'required' attribute in HTML5?
Should you use mailto links?