Start with semantic controls
Native HTML controls give you keyboard behaviour, browser validation and accessibility foundations for free.
- Use label elements connected with for and id.
- Choose the right input type for email, number, url or password fields.
- Group related options with fieldset and legend where useful.