What you see when you link to a directory rather than a specific file isn't a product of your browser or link code, it depends entirely on how the actual web server is configured.
There are many many possibilities, a few common ones are:
The "index" file of the directory (most common)
Message saying the directory does not allow its contents to be listed
Message saying you do not have access to that directory
Message saying it is forbidden to access that directory
A list of files contained in the directory, formatted according to the web server
Hope this helps,
Ezdo