Атрибут formaction
Описание
Определяет путь к файлу - обработчику данных.
Синтаксис
<input formaction='адрес'>
Пример
<!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' method='get'>
<input type='text' name='info'>
</form>
<input type='submit' formaction='/html/result-send' form='forma-h'>
</body>
</html>
Читайте также
Тег <tr>. Атрибут charoff
Смещение контента ячеек относительно указанного символа.
Тег <source>. Атрибут srcset
Изображения, которые должны использоваться в разных ситуациях.<br><br>В значение указ...
Тег <del>. Атрибут datetime
Указывает, когда было редактирование.
Тег <svg>. Атрибут y
Координата по оси Y. Используется для дочерних SVG элементов внутри SVG.
Тег <iframe>. Атрибут seamless
Указывает, что содержимое фрейма должно отображаться как на самом сайте. <br><br> Но ...