过时
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.
过时
HTML
<element>
element
was part of the
Web 组件
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.
注意: This element has been removed from the specification. See this for more information from the editor of the specification.
| 内容类别 | Transparent content . |
|---|---|
| 准许内容 | ??? |
| Tag omission | None, both the starting and ending tag are mandatory. |
| Permitted parent elements | ??? |
| DOM 接口 |
HTMLElement
|
此元素包括 全局属性 .
<element>
element was formerly in a draft specification of
Custom Elements
but it has been removed.
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
element
弃用
非标
|
Chrome ? | Edge ? | Firefox 不支持 No | IE 不支持 No | Opera ? | Safari ? | WebView Android ? | Chrome Android ? | Firefox Android 不支持 No | Opera Android ? | Safari iOS ? | Samsung Internet Android ? |
不支持
兼容性未知
非标。预期跨浏览器支持较差。
弃用。不要用于新网站。
<content>
,
<shadow>
,
<slot>
,和
<template>