A kind person provided a code to understand how it functions with google, and have the example with a username, password and submit button. When I filled in the fields and clicked submit, ‘get’ took me to google and had my username and password in the address bar whereas ‘post’ came up as ‘inappropriate for google’. Please elaborate on this so that I can understand what is going on.! I attached images to show what I mean and the code is right below.
Here’s there code for reference:
<!DOCTYPE html> <html> <head> <title>Form Facts</title> </head> <body> <div> <form action="https://www.google.com/" method="get"> <input type="text" placeholder="enter username" name="Username"><br/> <input type="password" placeholder="enter password" name="Password"><br/> <input type="submit" name="Submit"> </form> <p> After pressing submit,see the address bar and compare. </p> </div> </body> </html>