HTML Tutorial

The language for building web pages.

HTML Input Types

HTML Input Types

The type attribute of the <input> element specifies what kind of input field to display. If the type is omitted, it defaults to text.

All Input Types:

text, email, password, number, tel, url, date, time, datetime-local, month, week, color, range, file, checkbox, radio, submit, reset, button, hidden, image, search

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics