HTML - <element>
The HTML <element>
element is used to define new custom DOM elements.
Example
Text goes here.
HTML
Copy Code
More text goes here.
Description
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 |
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>
Specifications
The <element>
element was formerly in a draft specification of Custom Elements but it has been removed.
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/html/element/element