HTML & CSS · Junior · Question 43 of 75

A form is submitted with the GET method. Where does the field data go?

Explanation

With method="get" the data is encoded into the query string, so it's visible in the address bar and saved in history and logs - not suitable for passwords. POST sends data in the request body. Without JavaScript, a form is submitted via the action (URL) and method attributes of <form>.

Further reading

Problem with a question

HTML & CSS · Junior · question 43

Test yourself

Take the HTML & CSS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz