How To View HTML Source Without Loading The Actual HTML

Posted on Monday, September 20th, 2021

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.

Tags: , , , , , , ,

Comments are closed.