In Chrome and Firefox, you can view a web page’s source code directly by typing into the URL bar:
view-source:[webpage address goes here]
for example:
view-source:http://www.example.com
And that will load the source code without actually loading the HTML. This is useful if you don’t want any popups or malicious code to execute, or you’re debugging a webpage.