- user fill the data in the form
- the name of the control and the value are sent to the server
- the server process the information
- the server takes an action after the process as creating a new page and send it back to the user
- text input
- password input
- text area
- submit button
- check box
- drop down list box
- multiple select box
Form validation are performed in JavaScript or HTML5. It insures the filled data match the form expecting data type. Some of the HTML5 form validation attributes:
- date input
- email and url input
- search input
- ordered lists
- unordered lists
style for lists include the side sign or number before the list content. It can be styled and positioned.
Tables can be styled too. The table border
, margin
, padding
, width
, text-align
and hover
are some of these properties.
- adding
color
to the submit button - adding
border
to the field sets and legends
- select the element node to be responded
- indicate which event on the selected node will trigger the response
- put the code the will be run when the event is triggered
- HTML event handlers
- traditional DOM event handlers
- DOM level 2 event listeners