It seems like namespaces can be used in an HTML document. Although, I have never seen this done. If I used namespaces in my document, would browsers display 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"/> <svg:svg xmlns="http://www.w3.org/2000/svg"/> </h:body> </h:html>
Have questions?
FYI SVG uses namespaces and is rendered by browsers. See this .
XML- (, XML , XML) HTML. HTML , , XML " ". , , . , XML, XML, , . , , , , HTML, .
Source: https://habr.com/ru/post/1621185/More articles:Using DbGeography Tyes with Entity Framework 7 and vNext - c #SQLAlchemy - объединить/расширить существующие метаданные? - pythonHow to create a hash table from a nested array (php) - arraysScala and State Monad - scalaWhat is the default namespace for HTML / HTML5? - htmlSignature for Object.assign in typescript? - typescript1.7Onchange events for multiple text fields - javascriptHow to send a file to Nodejs using FormData and send Node a confirmation message? - javascriptwhat does + = operation really do on a scala card? - scalaReading / writing Windows registry on 64-bit Win 7 using JAVA with JNA - javaAll Articles