Tutorials

How To View HTML Source Code of Any Web Page in Android Mobiles

Source Code of Any Web Page in Android Mobiles

Viewing the HTML source code of any web page in an Android browser like Google Chrome is possible, but not as easy as it is on a Computer. While in the case of an Android device this is difficult as there’s a different method used to view the source page. But worry not, Android Application Development Companies have found out its solution. It is not so difficult but it’s not as easy as the method used for PC browsers. On a Computer, we only have to right-click on the web page somewhere and pick View source page option or something like that depending on the browser type.

Source Code of Any Web Page in Android Mobiles

 

For Computer Browsers, there is also an additional keyboard shortcut to view the source page i.e. by CTRL+U which may also differ according to the browser used.
While in the case of an Android device this is difficult as there’s a different method used to view the source page. It is not so difficult but it’s not as easy as the method used for PC browsers.

View Page Source in Android Mobile Browser

Right now the method is utilized in Chrome and Firefox mobile browsers but it’s quite possible that this will work with other browsers too.

Advertisements

In order to view page source in the Chrome mobile browser, just simply put view-source: in front of the web page’s URL, in your browser’s address bar, like this:

view-source:https://example.com/page-url/

Here is the screenshot of the same applied method in the chrome mobile browser.
Source Code of Any Web Page in Android Mobiles

It will work on other browsers besides Chrome and Firefox on any Android device. There are very few chances that this method will not work for other browsers.

There may be some apps available on the Internet that allow you to access the HTML source code of a web page as well, but since this method is basic and has wide acceptability, there is no need to install a separate app for this task.

Article written by:

Satyendra is a Biotechnologist from the city of Nawabs, Lucknow. Apart from blogging, his other interests are Indian rap knowledge, affiliate marketing, poetry, and basically anything nerdy.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

back to top