View HTML and CSS source code in mobile phone web browser

How can I show website's HTML and CSS source code in mobile phone web browser ? Is it possible to display it like in a web browsers for PC ?
0
give a positive ratinggive a negative rating
08 Apr 2022 at 07:48 PM
Hi,

In many mobile phone web browsers like Chrome, Samsung browser or Safari, you can display website's source code by typing view-source: before an URL.

For example:
view-source:https://example.com

If CSS styles are included in a separate file, you can click on the link in a source code. Alternatively you can view CSS styles by typing the URL in a web browser, like:
https://example.com/style.css
0
give a positive ratinggive a negative rating
10 Apr 2022 at 04:27 PM
Tim
Share on FacebookShare on TwitterShare on LinkedInSend email
x
x
2024 AnswerTabsTermsContact us