Kebab casing is often used as a variable naming convention. However, in many languages, hyphens represent subtraction, so kebab casing is not an option. CSS properties such as
background-color
and
font-family
are in kebab case, and so are HTML attributes such as
aria-label
and
data-*
.
Kebab-cased words are often simply referred to as hyphenated .