Rather simple. It first check if there is a protocol identifier like "http:" or "ftp:" or "file:" or "telnet:" or "anything:" and if not it adds "http://" by default before trying to reach the site. :-)
Even better, if a site does not work and does not have the "www." part at the start of the domain name it automatically try by adding it. Now that's really nice.