Linking to a page’s HTML source

When you create a link in a website, you normally do something like

<a href=”somepage.html”>

This will take the user to somepage.html and download all assets on that page (images, css, javascript, etc) resulting in multiple requests. But, what if you only what to view a page’s HTML source. Well, you can create a link like

<a href=”view-source:somepage.html”>

and this will result in only ONE request and display the page’s HTML source code in your browser.