Explore 100's Of Free Video Tutorials

Keep Learning, Keep Coding & Keep Sharing

Web forms

Notes:

HTML form tag :
HTML forms are most important part of any website. Using HTML form tag we can create variety of forms like, login form, query form, online application form, etc...
form tag is a paired tag
form tag is a block level tag
attributes:
name: uniquely identify the form in scripts
id: uniquely identify the form in scripts
action: address of processing page
method: get (default) or post
get method is not secured :
values of form controls get display in query string which gets display in address bar.
post method is secured :
values of form controls don't get display in query string which gets display in address bar.

Interview Questions:

1. The default method of posting the form is:
a. get
b. post
Answer: a