🖼️Button
Also known as UI Button, Call-to-Action Button, CTA Button
A control you press to do one thing, like Save or Send.
Think of it like
It is like a doorbell. You press it, and something happens.
Example
A form has a bright Send button and a plain Cancel button. People find the main action at a glance.
Why it matters
Buttons are where people act. A vague or hidden button stops the task dead.
Definition
Example code
html
<button type="submit">Send</button>Try it
The word on it
Before you press: can you say what will happen?
Swap the word, then press. The word is the promise, not the colour.
Common mistake
Key takeaways
- 1One action. Press, and it happens.
- 2Verb on the label. Say what it does.
- 3One main button. The rest stay quieter.