form
Creates an HTML form for user input. The action attribute specifies where to send form data.
Syntax
html
<form action="/submit" method="post">...</form>Example
html
<form action="/api/contact" method="post">
<input type="text" name="name">
<button type="submit">Send</button>
</form>