HTML: Custom Tag (Custom Element)
What is Custom Tag
you can define a custom element.
the name must start with lower case a to z, then followed by a hyphen, then more letters.
<abc-xyz>custom element</abc-xyz>
you can use CSS to define its appearance and use JavaScript to define its behavior.
Custom element name restrictions
- All characters must be lowercase.
- Start with lowercase a to z
- Followed by zero or more simple Unicode character
- Followed by a hyphen
- Followed by zero or more simple Unicode character
the “simple Unicode character” includes Emoji 😄


Reference
