# Custom element

*noun*

say it: **“KUS-tum EL-uh-ment”** **/ˈkʌstəm ˈɛləmənt/**

An HTML element you name and define yourself, such as review-card. Its name must have a hyphen, and JavaScript registers it with customElements.define.

## What is **Custom element**?

**Custom element** — An author-defined HTML element whose behavior is registered through the Custom Elements API.

## In a sentence

- “The browser ignored my **custom element** named reviewcard until I added the hyphen.”
- “I made a **custom element** called review-card and used it six times on the game page.”

Level: Freelancer · [More HTML terms at this level](https://www.ask-codey.com/glossary?category=html&level=4)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/custom-element
