Path: blob/main/files/en-us/web/html/global_attributes/is/index.md
6552 views
------{{HTMLSidebar("Global_attributes")}}
The is global attribute allows you to specify that a standard HTML element should behave like a defined custom built-in element (see Using custom elements for more details).
This attribute can only be used if the specified custom element name has been successfully defined in the current document, and extends the element type it is being applied to.
Examples
The following code is taken from our word-count-web-component example (see it live also).
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
All global attributes.