← Back to Demos

HTML Forms & Inputs Demo

Basic Form Elements

Required field with placeholder text
Email input with built-in validation
Minimum 8 characters required
<form> <label for="username">Username:</label> <input type="text" id="username" name="username" required> <label for="email">Email:</label> <input type="email" id="email" name="email" required> </form>

HTML5 Input Types

Min: 0, Max: 100, Step: 5
Pattern: 123-456-7890
50

Selection Elements

Choose your plan
Select features
Hold Ctrl/Cmd to select multiple

Advanced Form Features

Only image files accepted
Validation Examples