<input> element

Input + clear button

Input required, maxlength="10" + button

Input type="number", min="2", max="5"

Input readonly

Input disabled + button

Input type="email" + button

Input type="tel" + button

Input type="date" + button, aria-label="Enter your birthday". Placeholder wouldn't be read for this type

Label + Input + button

Form + Label + Input + button




<textarea> element

Textarea + button

Label + Textarea + button

Form + label + textarea + button

Input using form

Input inside label