HTML form

Text Fields

The <input type="text"> defines a single-line input field for text input.






Jika menekan tombol submit, Form-Data akan mengirim permintaan ke halaman "/action_page.php.


Radio Buttons

The <input type="radio"> defines a radio button.
Radio button let a user select ONE of alimited number of choices.

Pilih Salah 1 Bahasa Web Favoritmu :




Checkboxes

The <input type="checkbox"> defines a checkbox.
Checkboxes let a user select ZERO or MORE options of a limited number of choices.






The Submit Button

The <input type="submit"> defines a button for submitting the form data to a form-handler.
The form-handler is typically a file on the server with a script for processing input data. The form-handler is specified in the form's action attribute.






If your click the "Submit button, the form-data will be sent to a page called "/action_page.php"


The Name Attribute for <input>

Notice that each input field must have a name attribute to be submitted. If the name attribute is omitted, the value of the input field will not be sent at all.