textWhen developing a website there are many times you will need to look at the source code of your site. Viewing your source code will allow you to diagnose any code errors with what the browser is currently rendering. Below we have included the steps to view your source code in Firefox, Chrome, Internet Explorer, Opera, and Safari.

You might also want to learn how to diagnose JavaScript errors on your website, if you are unable to find any issues in the source code.

Source code in Firefox

textLaunch your Firefox browser. Visit your website. Right click your website in an area that has no text or images. You will see the View Page Source option. Click View Page Source and the code of your site will load.

textIf you cannot right click, you can go to Tools > Web Developer > Page Source.

You can also use the Keyboard shortcut ctrl + U.


Source code in Chrome

textStart Chrome and visit your website. Right click on your website where there is no text or images. Select View Source from the menu. the code will show in a pop up.

textIf you cannot right click, click the icon at the top right. (See image to the right) When hovering the text will say Customize and control Chrome. Go to Tools > View source.

You can also use the Keyboard shortcut ctrl + U.


Source code in Internet Explorer

textOpen Internet Explorer and go to your site. Right click your website where there is no content and click View Page Source. The code will pop up in a box.

If you cannot right click, you will need to use the ctrl + U keyboard shortcut.


Source code in Opera

textLaunch Opera and go to your website. Right click in a section of your website that does not have any content. Select Source from the menu. You will see the code pop up in a box.

textIf you cannot right click, you can click the opera button at the top left, select Page > Developer Tools > Source. You can also us ctrl + U to get the source code.


Source code in Safari

textOpen Safari and visit your Website. Right click where there is no text or graphics and select View Source.

textIf you have no right click, click the Page icon at the top right. Select View Source. You can also use ctrl + Alt + U to access the source code with a keyboard shortcut.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 200886

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!