Safari - View the source code of a webpage

December 2016



Issue


How to view the source code of a webpage under Safari?

Solution


To be able to view the source code of a webpage under Safari, you first need to enable the Developer menu:
  • Click on Safari menu > Preferences > Advanced.
  • Check "Show Develop menu in menu bar".
  • Close the Preferences window.
  • Go to the Develop menu > Show Page Source

Related :

This document entitled « Safari - View the source code of a webpage » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.