How to view source code in Safari?

How to view source code in Safari?

June 20, 2024·İbrahim Korucuoğlu
İbrahim Korucuoğlu

Viewing the source code of a page lets web designers and developers achieve their preferred layout. It helps them debug websites quickly by just viewing the source of web pages. Advanced Mac users can benefit greatly from viewing the page sources on a webpage. You can troubleshoot and fix webpage-related issues, adjust styling in the code, and learn different optimization techniques.

Following are steps to view source code in Safari browser.

  • Open your Safari browser and navigate to the web page you wish to view.
  • From the top menu bar, selectDevelop > Show Page Source . You can also pressOption+Command+U on your keyboard.

If the Develop menu is not visible, go toPreferences > Advanced , and choose theShow Develop menu in menu bar .

Last updated on