Search for notes by fellow students, in your own course and all over the country.
Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.
My Basket
Quadratic Equations£2.50
Fractions£1.00
Math chapter 02£6.75
Isomorphisms of vector spaces£3.75
Chemistry Exam Study Guide: Pt. 1£2.50
Total£16.50
Description: A good study material for any student wishing to learn website development . it includes html and CSS code examples.
Document Preview
Extracts from the notes are below, to see the PDF you'll receive please use the links above
HTML FORMS
CH 8 H T ML F O RMS
LORAINE MUTUNE
introduction
A form will take input from the site visitor and then will post it to a
back-end application such as CGI, ASP Script or PHP script etc
...
There are various form elements available like text fields, textarea
fields, drop-down menus, radio buttons, checkboxes, etc
...
LORAINE MUTUNE
Form
Attributes
Apart from common attributes, following is a list of the
most frequently used form attributes:
Attribute Description
action
Backend script ready to process your passed data
...
method
Method to be used to upload data
...
target
Specify the target window or frame where the result of the script will be displayed
...
enctype
You can use the enctype attribute to specify how the browser encodes the data
before it sends it to the server
...
•mutlipart/form-data - This is used when you want to upload binary data in the
form of files like image, word file etc
...
However, when GET is used, the submitted form data will be visible in
the page address field:
LORAINE MUTUNE
GET method
Appends form-data into the URL in name/value pairs
The length of a URL is limited (about 3000 characters)
Never use GET to send sensitive data! (will be visible in the URL)
Useful for form submissions where a user wants to bookmark the result
GET is better for non-secure data, like query strings in Google
LORAINE MUTUNE
Get method example
The method Attribute
This form will be submitted using the GET method:
After you submit, notice that, unlike the GET method, the form values is NOT visible in
th address bar of the new browser tab
...
They
are created using HTML tag
...
They are also created
using HTMl tag
...
Multi-line input
controls are created using HTML
items from the menu
...
selected
Specifies that this option should be the initially selected value
when the page loads
...
This is also
created using the element but type attribute is set to file
...
accept
Specifies the types of files that the server accepts
...
You can
also create a clickable button using tag by setting its type
attribute to button
...
reset
This creates a button that automatically resets form controls to their initial
values
...
image
This creates a clickable button but we can use an image as background of the
button
...
png" />