How to View HTML source codes on iDevices
8 Easy Steps to view HTML source codes
1.Tap Safari (iPhone, iPod, or iPad), if it is not already open, and visit this page. This also works for Chrome.
2.Select the Share Button (also known as the Action button):
4.Choose the Name Field and hit the X icon to clear it and name it “Show Page Source” and then tap “Save”.
Make sure the code you copy from Rob’s site is exactly the same as this:
6.Tap the Bookmarks icon and tap Edit:
7.Tap the “Show Page Source” bookmark you just created in step # 4:
You’re Done! Now you can use go to any webpage using mobile Safari (and Chrome) on your iDevice (iPhone, iPod, or iPad), tap the Bookmarks icon then tap the Show Page Source bookmark and a new window opens displaying the source code of the webpage. Awesome and Easy!