What happens exactly when I type a password into a password input field in a form in a web-page (e.g the password field of Gmail) and then hit enter. I want to understand the procedure before the browser sends it out of the local machine onto the network. For example: on the local machine, the web-browser first makes a system call, then the local machine does some processing on the password, and then sends it over the network. I searched on Google a lot, but could not find anything useful.