Skip to content

Try our new Crash Courses!

Buy one of our new Crash Courses, now hosted on Teachable.

View page source – Developer Tools


Using View Page Source in Chrome

You can view the underlying HTML of a web page using your browser. To do so, right click on the web page and select one of the following options that corresponds with the browser you’re using:

  • Chrome: View Page Source
  • Firefox: View Page Source
  • Safari: Show Page Source
  • Edge: View source


In Firefox, mistakes in the HTML code will be highlighted in red when using View Page Source.


Open up in a new tab. Then view the page source.


View Source from MDN

Back to: Website Testing Reference