Kebab Case
noun
say it: “kuh-BOB kays” /kəˈbɑːb keɪs/
A way of writing names in all lowercase letters with a dash between the words, such as bike-shop-menu.html.
What is Kebab Case?
kebab-case
A naming convention that has letters and dashes. All letters are lower case. Each word is separated by an dash.
Most programming languages do not allow this naming convention because the dash (-) is treated as an arithmetic symbol. But it is commonly used in CSS to define classes and ids. It is also commonly used in naming files and folders.
In a sentence
- “I renamed My Pet Page.html in kebab case, pet-adoption-page.html, so the address has no spaces in it.”
Level: Novice · More CSS terms at this level
Updated