Why do I have to use these namespace things in XHTML?
Answer Posted / 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 |
Post New Answer View All Answers
What is definition list in html?
What are the benefits of html?
What is meta viewport?
What is the use of hidden field in html?
Explain data attributes in html5?
What is a href attribute?
How we can create multi colored text in a webpage?
Explain formmethod attribute of html5?
What are the types of tag?
Should I close img tag?
Who discovered html5?
Can elements be overlapped in xhtml or not?
What is rowspan?
Is colgroup deprecated?
What is the difference between SVG and