Атрибут name
Описание
Определяет индивидуальное имя кнопки.
Синтаксис
<button name='идентификатор'>...</button>
Пример
<!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='one-form'><input type='text' placeholder='Имя' name='info'></form>
<button name='test' form='one-form' formaction='/html/result-send' formmethod='get' formenctype='application/x-www-form-urlencoded' formnovalidate>Отправить</button>
</body>
</html>
Читайте также
Тег <iframe>. Атрибут seamless
Указывает, что содержимое фрейма должно отображаться как на самом сайте. <br><br> Но ...
Тег <table>. Атрибут background
Указывает фоновое изображение.
Тег <video>. Атрибут width
Задает ширину видеоролика.
Тег <table>. Атрибут cols
Указывает число колонок в таблице, тем самым помогает браузеру подготовиться.
Тег <th>. Атрибут abbr
Краткое описание содержимого ячейки.