Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 782629 of <element>

  • Revision slug: Web/HTML/Element/element
  • Revision title: <element>
  • Revision id: 782629
  • Created:
  • Creator: Jeremie
  • Is current revision? No
  • Comment If this has never been implemented by any browser we should delete that article.

Revision Content

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.

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

{{CompatibilityTable}}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}}
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}} {{CompatUnknown}}

See also

  • Web components: {{HTMLElement("content")}}, {{HTMLElement("shadow")}}, {{HTMLElement("template")}}
{{HTMLRef}}

Revision Source

<div class="note">
<p><strong>Note:</strong> This element has been removed from the specification. See <a href="https://lists.w3.org/Archives/Public/public-webapps/2013JulSep/0287.html">this</a> for more information from the editor of the specification.</p>
</div>

<h2 id="Summary" name="Summary">Summary</h2>

<p>The <strong><a href="/en-US/docs/Web/HTML">HTML</a> <code>&lt;element&gt;</code> element</strong> is used to define new custom DOM elements.</p>

<ul class="htmlelt">
 <li><dfn><a href="/en-US/docs/Web/HTML/Content_categories" title="HTML/Content_categories">Content categories</a></dfn> <a href="/en-US/docs/Web/HTML/Content_categories#Transparent_content">Transparent content</a>.</li>
 <li><dfn>Permitted content</dfn> ???</li>
 <li><dfn>Tag omission</dfn> {{no_tag_omission}}</li>
 <li><dfn>Permitted parent elements</dfn> ???</li>
 <li><dfn>DOM interface</dfn> {{domxref("HTMLElement")}}</li>
</ul>

<h2 id="Attributes" name="Attributes">Attributes</h2>

<p>This element includes the <a href="/en-US/docs/Web/HTML/Global_attributes">global attributes</a>.</p>

<h2 id="Examples" name="Examples">Examples</h2>

<p>Text goes here.</p>

<pre class="brush: html">
More text goes here.
</pre>

<h2 id="Specifications" name="Specifications">Specifications</h2>

<p>The <code>&lt;element&gt;</code>&nbsp;element was formerly in&nbsp;a draft specification of&nbsp;<a href="https://w3c.github.io/webcomponents/spec/custom/">Custom Elements</a>&nbsp;but it has been removed.</p>

<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>

<p>{{CompatibilityTable}}</p>

<div id="compat-desktop">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Chrome</th>
   <th>Firefox (Gecko)</th>
   <th>Internet Explorer</th>
   <th>Opera</th>
   <th>Safari (WebKit)</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
  </tr>
 </tbody>
</table>
</div>

<div id="compat-mobile">
<table class="compat-table">
 <tbody>
  <tr>
   <th>Feature</th>
   <th>Android</th>
   <th>Firefox Mobile (Gecko)</th>
   <th>IE Phone</th>
   <th>Opera Mobile</th>
   <th>Safari Mobile</th>
  </tr>
  <tr>
   <td>Basic support</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
   <td>{{CompatUnknown}}</td>
  </tr>
 </tbody>
</table>
</div>

<h2 id="See_also" name="See_also">See also</h2>

<ul>
 <li>Web components: {{HTMLElement("content")}},&nbsp;{{HTMLElement("shadow")}}, {{HTMLElement("template")}}</li>
</ul>

<div>{{HTMLRef}}</div>
Revert to this revision