Атрибут disabled
Описание
Делает input неактивным.
Синтаксис
<input disabled>
Пример
<!DOCTYPE html>
<html lang='ru'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>Document</title>
</head>
<body>
<form action='/html/result-send' method='get'>
<input type='text' name='info' disabled>
<button type='submit'>Отправить</button>
</form>
</body>
</html>
Читайте также
Тег <hr>. Атрибут size
Задает толщину линии. Размер указывается в пикселях.
Тег <embed>. Атрибут align
Определяет, как выравнивать объект.
Тег <colgroup>. Атрибут align
Выравнивает колонки по горизонтали.
Тег <th>. Атрибут height
Указывает высоту ячейки.
Тег <input>. Атрибут minlength
Минимальное количество символов разрешённых в тексте.