It seems like it's possible to use namespaces in an HTML document. Although, I've never seen it done. If I used namespaces in my document would browsers render it correctly?
Here is your HTML:
<html> <head> </head> <body> <input type="button"/> </body> </html> Here is your HTML on namespaces:
<h:html xmlns:h="http://www.w3.org/1999/xhtml"> <h:head> </h:head> <h:body> <h:input type="button"/> </h:body> </h:html> Any questions?
FYI SVG uses namespaces and is rendered correctly by browsers. See this.
No comments:
Post a Comment