Элементы ввода форм HTML

Сложность: Начальный

Типы полей ввода в HTML

HTML5 предоставляет множество типов полей ввода.

Примеры:

<input type="text" placeholder="Текстовое поле">
<input type="password" placeholder="Пароль">
<input type="email" placeholder="Email">
<input type="number" min="1" max="100">
<input type="date">
<input type="color">
<input type="file">
<textarea rows="4" cols="50"></textarea>
<select>
    <option value="1">Опция 1</option>
    <option value="2">Опция 2</option>
</select>