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 |
If I do not put <! DOCTYPE html> will HTML 5 work?
What does br br mean?
What is p in html?
Explain list elements in html.
What are the various formatting tags in html5?
How do I make a table which looks good on AOL and Prodigy?
what is xhtml? Why is xhtml needed?
What is viewport html?
What are the new attributes provided in HTML5 for <form>?
Is html extensible?
Why is my binary file not downloaded, but shown on the screen?
What is the default border size of a canvas?