D276 WEB DEVELOPMENT FOUNDATIONS
1.Action Attribute (attribute of <form> element): defines the action to be
per- formed when the form is submitted
2.Target Attribute (attribute of <form> element): specifies where to
display the response that is received after submitting the form
3._blank (a Target Attribute value): The response is displayed in a new
window or tab
4._self (a Target Attribute value): The response is displayed in the current
window
5._parent (a Target Attribute value): The response is displayed in the parent
frame
6._top (a Target Attribute value): The response id displayed in the full
body of the window
7.framename (a Target Attribute value): The response is displayed in a
named iframe
8.Method Attribute (attribute of <form> element): specifies the HTTP
method to be used when submitting the form data
9.GET (HTTP Method for Method Attribute): -Appends the form data to the
URL, in name/value pairs
-NEVER use GET to send sensitive data! (the submitted form data is
visible in the URL!)
-The length of a URL is limited (2048 characters)
-Useful for form submissions where a user wants to bookmark the result
-GET is good for non-secure data, like query strings in Google
10.POST (HTTP Method for Method Attribute): - Appends the form data
inside the body of the HTTP request (the submitted form data is not
shown in the URL)
- POST has no size limitations, and can be used to send large amounts of
data.
- Form submissions with POST cannot be bookmarked
11.Autocomplete Attribute (attribute of <form> element): specifies
whether a form should have autocomplete on or off. When
autocomplete is on, the browser automatically complete values based
on values that user has enter before
12.Novalidate Attribute (attribute of <form> element): When present, it
specifies that the form-data (input) should not be validated when
submitted
13.Document Object Model (DOM): is a programming API for HTML and
XML documents. It defines the logical structure of documents and the