A Web developer can choose either the GET method or the POST
Solution
1.
The difference between the GET and POST is as follows:
GET
POST
Since, the data is send in the header, so only a limited amount of data can be send.
In this method, the data send in the body.
Thus, the large amount of data can be sent.
It is not much secure, since the data is there in the URL bar.
Data is secured by using the method.
They can also be bookmarked
They cannot be bookmarked.
The efficiency of the GET is higher than the POST.
Less efficient than GET.
Since, to ordering the product the data must be secure and private.
Thus, the appropriate method is POST.
2.
The elements which have id equal to language will be selected.
3.
The opening tag is as follows:
<div id = “stories” > document </div>
| GET | POST |
| Since, the data is send in the header, so only a limited amount of data can be send. | In this method, the data send in the body. Thus, the large amount of data can be sent. |
| It is not much secure, since the data is there in the URL bar. | Data is secured by using the method. |
| They can also be bookmarked | They cannot be bookmarked. |
| The efficiency of the GET is higher than the POST. | Less efficient than GET. |
