Атрибут 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>