Атрибут name
Описание
Задает полю имя.
Синтаксис
<input name='...'>
Пример
<!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 id='forma-h' action='/html/result-send' method='get'>
<input type='text' name='info'>
</form>
<input type='submit' form='forma-h'>
</body>
</html>
Читайте также
Тег <ol>. Атрибут reversed
Нумерация в списке отображается по убыванию, т.е. в обратную сторону.
Тег <meta>. Атрибут charset
Задаёт кодировку символов.
Тег <hr>. Атрибут width
Задает ширину линии. Размер указывается в пикселях.
Тег <tfoot>. Атрибут align
Указывает, как выравнивать текст в строке.
Тег <iframe>. Атрибут name
Указывает имя фрейма.