Welcome 🎉

logo

ReactLMS

Search
Light Mode
Contact Us

1 min to read

Contact us

No results for your search.
Sorry, an unexpected error occurred

Concept


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.


Usage


<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.


Read more
On This Page