Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML Forms

HTML forms and input


HTML forms are used to collect user input.

An HTML form represents an area in a document that contains interactive controls and sends the collected user information to a Web server.

HTML forms typically contain various elements such as input fields, checkboxes, radio buttons, and drop-down lists.

The following is an example of a simple HTML form: