Do you need to know what you mobile website is producing, but on the phone itself? Then here are the best ways I have found to inspect you mobile phone or tablets HTML. I have found how to inspect the HTML source of multiple platforms including iPhone, Android and more.
Let’s start with the best one and that is the iPhone and iPad. This only works on these devices and is totally worth it. Start by bookmarking the page you are on and calling it ‘View Source Code’ or what ever you want to call it.
Now when you go to a website you want to view, simply select the ‘View Source Code’ bookmark and a new tab will open with your HTML in.
Another one I have found for Android is much simpler, but has not been fully tested by myself as I am an iPhone user. If you copy the code below into you clip board, then paste it in the address bar of the website you wish to see the source code of.
Once loaded you should be able to see the HTML source of that page. This method is simpler than the iOS, but you will have to have this snippet saved somewhere to keep entering it.
Through the code
I have not found a way to view the source code on a Windows Phone yet, but if anyone knows then please comment here to help others.