Wednesday, July 5, 2023

How to View the Html Code of a Webpage in Android Browsers

How to view the HTML Code of a Webpage in Android browsers

To read the HTML code of a webpage on Android without using a web browser's built-in developer tools, use the following different approach:

1. On your Android device

Open the website in the browser of your choice.


2. To modify the URL

Tap on the address bar at the top of the browser window.

View HTML

3. At the beginning of the URL

Add "view-source:" just before the "http://" or "https://" portion of the URL. You should change the URL to "view-source:https://www.example.com" if the previous one was "https://www.example.com," for instance.

helptodiy

4. Once the URL has been modified

Hit Enter or Go on your device's keyboard.

helptodiy

The browser will show the webpage's HTML source code, letting you examine and scroll through it.

By using this strategy, the browser is essentially told to handle the modified URL as a request to view the page source. The majority of Android browsers, including Brave, Chrome, Firefox, Kiwi, Opera and Samsung Internet, should be compatible with it.

Please be aware that while using developer tools has some advantages to using this method, it may not be as flexible. The HTML code presented might not be as cleanly written or interactive as it would be in a web browser's developer tools.

No comments:

Post a Comment

The Invisible Scorecard: Your Digital Echo

The Invisible Scorecard: Your Digital Echo Hi there! Imagine having an invisible score following every click, like, and search you make o...