Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
The obsolete <element>
was part of the Web Components specification; it was intended to be used to define new custom DOM elements. It was removed in favor of a JavaScript-driven approach for creating new custom elements.
Note: This element has been removed from the specification. See this for more information from the editor of the specification.
Content categories | Transparent content. |
---|---|
Permitted content | ??? |
Tag omission | None, both the starting and ending tag are mandatory. |
Permitted parent elements | ??? |
DOM interface | HTMLElement |
This element includes the global attributes.
The <element>
element was formerly in a draft specification of Custom Elements but it has been removed.
Desktop | ||||||
---|---|---|---|---|---|---|
element
|
? | ? | No | No | ? | ? |
Mobile | ||||||
---|---|---|---|---|---|---|
element
|
? | ? | No | ? | ? | ? |
<content>
, <shadow>
, <slot>
, and <template>
© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/element