Week 8 - Session 2 - HTML Forms

blog image source
A web form, web form or HTML form on a web page allows a user to enter data that is sent to a server for processing. Forms can resemble paper or database forms because web users fill out the forms using checkboxes, radio buttons, or text fields. For example, forms can be used to enter shipping or credit card data to order a product or can be used to retrieve search results from a search engine.

Forms can be made up of standard graphical user interface elements:

  • text - a simple text box that allows input of a single line of text
  • email - a type of text that requires a partially validated email address
  • number - a type of text that requires a number
  • password - characters typed in are invisible or replaced by symbols such as *
  • radio - a radio button
  • file - a file select control for uploading a file
  • reset - tells the browser to restore the values to their initial values
  • submit - tells the browser to take action on the form (typically to send it to a server)
  • textarea - allows for multiple rows of data to be shown and entered
  • select - a drop-down list that displays a list of items a user can select from

Wikipedia - https://en.wikipedia.org/wiki/Form_(HTML)
Your first HTML form - https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Your_first_HTML_form

Popular posts from this blog

Week 9 to 12 - Learning with MCR Codes

Week 9 - Session 1 - The Internet, the Web, HTTP