How to view source code in Safari?
Categories:
less than a minute
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, select Develop > Show Page Source. You can also press **Option+Command+U **on your keyboard. If the Develop menu is not visible, go to Preferences > Advanced, and choose the Show Develop menu in menu bar.