How To View The HTML Source Code Of Any Website

How to view the html source code of any website.

The source code is the programming behind any website or software. In case of websites, this code can be viewed by anyone using various tools, even your web browser itself. However, for this post we will be making use Google Structure Data Tool

At the "Fetch" section, input the URL of the website you wish to view it's source code

Click "Run Test"

The source code of the website will show up immediately.

You can also view the source code using your PC browser. Here's how to do it:

Firefox – CTRL + U (Meaning press the CTRL key on your keyboard and hold it down. While holding down the CTRL key, press the “u” key.) Alternatively, you can go to the “Firefox” menu and then click on “Web Developer,” and then “Page Source.”

The page source is also very useful when you are doing search engine optimization, or SEO. A search engine only sees the website's source code. Even if your web page looks perfectly fine to you, it may not match the standards required by a search engine crawler. Make it a habit to look through the code, especially the important header tags, such as title, and description.