The <form> tag in HTML is used to create a form on a web page. This form allows users to input data and submit it to a server for processing.
<form action="/process-form" method="POST">
<label for="name">Họ và tên:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<button type="submit">Gửi</button>
</form>
Result
In the example above, when the user clicks the "Submit" button, the data from the input fields will be sent to the URL /process-form using the POST method.