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 933879 of <element>

  • Revision slug: Web/HTML/Element/element
  • Revision title: <element>
  • Revision id: 933879
  • Created:
  • Creator: Sebastianz
  • Is current revision? Yes
  • Comment Replaced list for properties by table (bug 1212755) and removed translated tags

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.

Content categories Transparent content.
Permitted content ???
Tag omission {{no_tag_omission}}
Permitted parent elements ???
DOM interface {{domxref("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

{{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>

<table class="properties">
 <tbody>
  <tr>
   <th scope="row"><a href="/en-US/docs/Web/HTML/Content_categories" title="HTML/Content_categories">Content categories</a></th>
   <td><a href="/en-US/docs/Web/HTML/Content_categories#Transparent_content">Transparent content</a>.</td>
  </tr>
  <tr>
   <th scope="row">Permitted content</th>
   <td>???</td>
  </tr>
  <tr>
   <th scope="row">Tag omission</th>
   <td>{{no_tag_omission}}</td>
  </tr>
  <tr>
   <th scope="row">Permitted parent elements</th>
   <td>???</td>
  </tr>
  <tr>
   <th scope="row">DOM interface</th>
   <td>{{domxref("HTMLElement")}}</td>
  </tr>
 </tbody>
</table>

<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