Are you looking for a way out to view webpage source from an iPad or iPhone then be glad because it is possible through a custom bookmarklet which is capable of viewing source of any web page of iOS device. Mobile Safari regrettably doesn’t support a feature of viewing a webpage source.Michelsen.dk has brought an awesome tip to view webpage source. It explains about both How to “View Source” from Safari on iPhone and How to “View Source” from Safari on iPad , in following steps :
Bookmark this page ( or other ) with Safari on an iPad, iPhone or iPod Touch and name it as “ View source”.
Click on the Bookmark icon at Safari new browser screen and click on “Edit” , then click on the Bookmark you did save in Step 1.
Paste Java Script code into the URL Bar which you copied in step 2nd and Save the changes by Tapping “Done”
If you are not at ease with the above method then you have many options to choose from but what is worth stressing here is that those methods won’t be capable of highlighting the syntax and are not that neat. Somewhat similar tip lets you run Firebug with Mobile Safari on an iPhone and iPad by using an edited Bookmark. This tip is believed to be more useful for developers.