已废弃
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.
简介
<element>元素被定义在最新的 HTML DOM 元素中。
Content categories | Transparent content. |
---|---|
Permitted content | ??? |
Tag omission | 不允许,开始标签和结束标签都不能省略。 |
Permitted parent elements | ??? |
DOM interface | HTMLElement |
属性
这个元素只有全局属性。
示例
Text goes here.
More text goes here.
规范
<element>元素以前位于自定义元素的草稿规范中,但已被删除
浏览器兼容
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |
另请参阅
- Web components:
<content>
,<shadow>
,<template>