Build a form people can complete
A usable form starts with the information you actually need. A visual template provides fields and layout, but it does not send email, create an account, or store submissions. Those behaviors require your own endpoint or service and an appropriate privacy notice.
How to use this tool
- Select the fields and a layout that suits the task. Keep labels visible; placeholders are examples, not a substitute for field labels.
- Review spacing, input types, required fields, and mobile layout. Use autocomplete values that match the information requested.
- Copy the markup and styles. Connect submission handling and add understandable validation, error, and success messages.
The for and id values connect the label to the input. The name identifies the field in a submission, and the email type gives the browser a useful hint. This snippet still needs a surrounding form and submission handling.
Read the reference documentation ↗