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.
Note: This element has been removed from the specification. See this for more information from the editor of the specification.
Summary
The HTML <element> element is used to define new custom DOM elements.
| Content categories | Transparent content. |
|---|---|
| Permitted content | ??? |
| Tag omission | None, both the starting and ending tag are mandatory. |
| Permitted parent elements | ??? |
| DOM interface | HTMLElement |
Attributes
This element includes the global attributes.
Examples
Text goes here.
More text goes here.
Specifications
The <element> element was formerly in a draft specification of Custom Elements but it has been removed.
Browser compatibility
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
| Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
See also
- Web components:
<content>,<shadow>,<template>