Expand your HTML skills through an MDN Fellowship - Apply by April 1 http://mzl.la/MDNFellowship

mozilla

Revision 495417 of <element>

  • Revision slug: Web/HTML/Element/element
  • Revision title: <element>
  • Revision id: 495417
  • Created:
  • Creator: kscarfone
  • Is current revision? No
  • Comment

Revision Content

{{ draft }}

Summary

The HTML element 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

Currently part of a draft specification, Custom Elements.

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("decorator")}}, {{HTMLElement("shadow")}}, {{HTMLElement("template")}}
{{HTMLRef}}

Revision Source

<p>{{ draft }}</p>
<h2 id="Summary" name="Summary">Summary</h2>
<p>The <strong><a href="/en-US/docs/Web/HTML">HTML</a> element element <code>&lt;element&gt;</code></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("HTMLElementElement")}}</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>Currently part of a draft specification, <a href="http://w3c.github.io/webcomponents/spec/custom/">Custom Elements</a>.</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")}}, {{HTMLElement("decorator")}}, {{HTMLElement("shadow")}}, {{HTMLElement("template")}}</li>
</ul>
<div>
 {{HTMLRef}}</div>
Revert to this revision