This is a form
A form has
- an action - a file that will be called for when the form data is submitted. Usually this page contains some script, that responds to the form data in some way,
such as printing it.
- Generally some input fields, with names
- A submit button.
This form has as action http://osiris.ubishops.ca/~jensen/echo.php, a script
that simply shows the names and values of the form elements.
After you click on submit, notice the "query string" in the location bar of the browser, with
the name(s) of the elements, and their values. These are encoded for transmission, and will be decoded by PHP.
To see the actual html coding of the form, use your browser's View, Page Source
Go on to look at the second form example with a variety of elements.