Cloning is mentioned in this question, so no matter if IE6 can create its own element (it can), it really is not a question if the intention is to use JS to clone custom elements if IE6 cannot do this (which I I do not know).
If the idea is only to style custom elements, then every browser can do it. Because of IE6, you need a namespace for your own elements, thus <prefix: custom / "> and specify a namespace in the HTML element, thus <html xmlns: prefix =" http: // domain / path ">.
In order for everything to be correct in all browsers (and therefore Javascript selects custom elements), you also need to provide a custom DTD so that the namespace of the custom elements works sequentially, thus <! DOCTYPE html SYSTEM "http: //domain/path/custom.dtd"> and then write a DTD, which, unfortunately, is not trivial and should include a complete replacement for the HTML DTD that it replaces.
So, after applying a custom DTD, specifying your own namespace and applying custom elements, they can be written in any browser, so the style is <style> prefix \: custom {background: red;} </style>.
This works consistently in all browsers, but is relevant for discussion. This allows you to use consistent, meaningful markup with elements that are clearly denoted by a namespace and are not at risk of cascading styles and avoid div-itis.
However, this is a bit of a ghetto in website development, which involves complexity that might not be well rewarded.
Fentex
source share