Web Design

(Nancy Kaufman) #1

253


CHAPTER

Adding Forms to Your Site 11


TIP


Which method should I use?
The default method is get. However, using get has many disadvantages, so the World Wide Web
Consortium has for some time officially recommended that all forms use post as their method. Today,
almost all sites except search engines use post for their forms. Search engines continue to use get
because that method allows users to bookmark the results page of a form. Most Web scripting languages
handle the data differently, so your choice of methods will likely be dictated by the script you write.

7 Type .


The form container is created
on the page.


4 Type method=”?”,
replacing? with either get
or post.


5 Type >.


6 Press twice.


7


5


4

Free download pdf