✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
A developer writes the following form.
<form method="GET" action="/search"> <input type="text" name="query"></form>
After the user submits it with the word "html" in the text box, the browser navigates to /search?query=html. Why does the submitted data appear in the URL?