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
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
Share on FacebookShare on TwitterShare on LinkedInSend email
1 answer
x
x
2024 AnswerTabsTermsContact us