How to view source code in Safari

So I’ve been using Mac for months now, with Safari as the default browser. Having to code for web development and looking for the source code of pages, I still hadn’t figured out how to find the source code of a page in this particular browser.

 

A further search revealed the solution. So here’s how.

 

 

- Click on Safari menu > Preferences > Advanced.

 

 

- Check “Show Develop menu in menu bar”. Close Safari’s preferences.

 

 

- Develop menu > Show Page Source

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>