This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

element

Summary

The element element defines a custom element. Note: This element has been deprecated, and is not supported by any browser. See document.register for the standard custom element definition.

Overview Table

DOM Interface
HTMLElementElement

Custom elements are new types of DOM elements that can be defined by authors.

Custom elements can define presentation aspects like decorators. Unlike a decorator, which can be applied or unapplied to a given element, the element’s type is fixed. So custom elements can also define new state and behavior, which decorators can’t do because of their ephemeral nature.

See also

Related articles

Web Components

External resources

https://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html#custom-element-section