Click the Safari menu at the top of the screen. Click Preferences on the menu. Click Advanced. Select Show Develop menu in menu bar.
If you right-clicked in a frame, you’ll see View Frame Source instead. [2] X Research source This will only display the source code of the current frame. If you see a link to a file with a name like style. css near the top of the source code, this is a separate file that contains the styles (fonts, colors, layout info) for the website. [3] X Research source Click the link to open that page. If you want to copy all of the code for the site, you’ll also need to copy this page.
To paste it into the desired location, right-click and select Paste.
For example, if you were going to view the source of wikiHow. com, the URL would look like this: view-source:https://www. wikihow. com
If you see a link to a file with a name like style. css near the top of the source code, this is a separate file that contains the styles settings (colors, fonts, design, etc. ) for the website. Tap the link to open that page. If you want to copy all of the code for the site, you’ll also need to copy this page.
To paste the code into a file or app, tap and hold the typing area and select Paste.
To paste, tap and hold a typing area and select Paste.
To paste, tap and hold a typing area and select Paste.