CS计算机代考程序代写 Forms

Forms
47
Introducing Forms
Form Structure

Details




48

Introducing Forms
How Forms Work
3 User fills in form and submits the form
4 Request
1 Request
2 Browser returns HTML document that contains a form
This request is usually for some type of server-side script that will process the form data.
49
The user’s form data is sent to the server within the request.
5
Introducing Forms
Query Strings




55
Form Control Elements
Choice Controls ( using value attribute


?choices=Second
?choices=2
57
Form Control Elements
Button Controls (radio)
North America
South America
Asia
58

Form Control Elements
Button Controls (checkbox)



Canada
France
Germany
?accept=on&visit=canada&visit=germany
59
Form Control Elements
Button Controls (checkbox)






60

Form Control Elements
Specialized Controls (file upload)





61
Form Control Elements
Specialized Controls (number and range controls)

Form Control Elements
Specialized Controls (colour)
Control as it appears in browser that doesn’t support this input type

Form Control Elements
Date and Time Controls

element
• Connect cells with a textual description in the header

Famous Paintings Title Artist Year Width Height

66

Table and Form Accessibility
Accessible Form




67
Microformats
68

Microformats
Microformat information (hNews)
Microformat information (hCard)
Server harvesting microformat information
Report aggregating all the hCard information from different websites
Website aggregating all the hNews information from different websites
69
Microformats
References
hCard, which is used to semantically mark up contact information for a person
• http://microformats.org/wiki/hcard.
Schema.org aims to create and promote schemas for structured data on the Web. Google’s on-line testing tool helps developers test their semantic markup and microformats
• https://search.google.com/structured- data/testing-tool/u/0/
70