Home How To How to View Source Code

How to View Source Code

0
How to View Source Code

[ad_1]

Method 1 of 3:

Chrome, Firefox, Edge, and Internet Explorer

  1. Image titled View Source Code Step 1


    1
    Open your web browser. The process for viewing source code on Chrome, Firefox, Microsoft Edge, and Internet Explorer is the same.
  2. Image titled View Source Code Step 2

    2
    Navigate to a webpage. It should be a page whose source code you wish to view.

  3. Image titled View Source Code Step 3

    3
    Right-click the page. If you’re using a Mac computer with a one-button mouse, you can hold down Control and click instead. If you are on a laptop with a trackpad, you can use two fingers to click the page instead. This will invoke a drop-down menu.

    • Don’t right-click a link or a photo when doing this or else the wrong menu will appear.
  4. Image titled View Source Code Step 4

    4
    Click View page source or View Source. Doing so will display your browser’s source code in a new window or at the bottom of the current window.

    • You’ll see View page source for Chrome and Firefox, and View Source for Microsoft Edge and Internet Explorer.
    • You can also press Ctrl+U (PC) or Option+ Command+U (Mac) to display the source code.

Method 2 of 3:

Safari

  1. Image titled View Source Code Step 5

    1
    Open Safari. This is a blue, compass-shaped app.
  2. Image titled View Source Code Step 6

    2
    Click Safari. It’s in the top-left side of your Mac’s menu bar. Doing so invokes a drop-down menu.
  3. Image titled View Source Code Step 7

    3
    Click Preferences. This option is in the middle of the drop-down menu.
  4. Image titled View Source Code Step 8

    4
    Click the Advanced tab. It’s in the top-right corner of the Preferences window.
  5. Image titled View Source Code Step 9

    5
    Check the “Show Develop menu in menu bar” box. This option is near the bottom of the Preferences window. You should see a Develop menu appear in your Mac’s menu bar.
  6. Image titled View Source Code Step 10

    6
    Navigate to a webpage. It should be a page whose source code you wish to view.
  7. Image titled View Source Code Step 11

    7
    Click Develop. This menu is to the left of the Window menu in your Mac’s menu bar.
  8. Image titled View Source Code Step 12

    8
    Click Show Page Source. It’s near the bottom of the drop-down menu. Clicking this option will prompt Safari to display the webpage’s source code.

    • You can also press Option+ Command+U to display the source code.
Method 3 of 3:

On Wikis

  1. Image titled View Source Code Step 13

    1
    Navigate to the page you want to view the wiki source code for.
  2. Image titled View Source Code Step 14

    2
    Click on the “View source” or “Edit” tab.
  3. Image titled View Source Code Step 15

    3
    Scroll through the source and select/copy the code you want to copy on your site.

Tips

  • While you can’t usually view source code on a mobile browser, you can save a Safari bookmark on iPhone or iPad to view mobile Safari source code.

    ⧼thumbs_response⧽

Submit a Tip

All tip submissions are carefully reviewed before being published

Thanks for submitting a tip for review!

Warnings

  • Be wary of downloading third-party applications that claim to display the source code of a website.

    ⧼thumbs_response⧽

You Might Also Like

Compile a Program in Linux

Compile a Program in Linux

Learn a Programming Language

Learn a Programming Language


Format Text as Code in Discord

Format Text as Code in Discord

Run a Program from the Command Line on Linux

Run a Program from the Command Line on Linux

Download a File from GitHub

Download a File from GitHub

Convert from Binary to Decimal

Convert from Binary to Decimal

Reset Schlage Keypad Lock Without Programming CodeHow to Factory Reset a Schlage Lock & Restore the Default Programming Code

Delay a Batch FileHow to Delay a Batch File: Timeout, Pause, Ping, Choice & Sleep

Change Code on Schlage LockHow to Change 4-Digit User Codes on Schlage Locks

Write PseudocodeLearn to Write Pseudocode: What It Is and Why You Need It

Code

Code

Make an Exe File

Make an Exe File

Download a GitHub Folder3 Ways to Download GitHub Directories and Repositories

Make a Program Using Notepad

Make a Program Using Notepad

[ad_2]

Source link : https://www.wikihow.com/View-Source-Code

LEAVE A REPLY

Please enter your comment!
Please enter your name here