In this tutorial I will show you the easiest way to view a website page source in a browser. This method is applicable on most of the modern web browsers like Chrome, Safari and Firefox. I don’t know about others, but if it worked please let me know through comments. So let’s start.
The only thing you have to do is to insert view-source: before the website url.
For example: You want to view my page’s source. Now the only thing you have to do is insert view-source: before my url i.e.. view-source:http://www.ishaanrawat.com.
I am not sure but you can also view source via this method on a mobile (In the above mentioned browsers).
So try it and comment if something goes wrong… Till then Happy Coding!!