Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

How do I see the source code of a html page?

  • 5 replies
  • 102 have this problem
  • 57813 views
  • Last reply by joseluis7696

more options

In previous versions it was possible to read the source code on a html page from "view" menu. It is not longer there. How do I read code now?

Chosen solution

Use one of these:

  • Firefox > Web Developer > Page Source
  • Tools > Web Developer > Page Source (Ctrl+U)
  • Right-click on a web page to open the right-click context menu and select Page Source
Read this answer in context 👍 27

All Replies (5)

more options

Chosen Solution

Use one of these:

  • Firefox > Web Developer > Page Source
  • Tools > Web Developer > Page Source (Ctrl+U)
  • Right-click on a web page to open the right-click context menu and select Page Source
more options

Thanks a lot. The right button clicking option was the one I was looking for.

more options

You're welcome

more options

Even though I've been updating my Beta versions (now in FF 8), I just noticed this stupidity now, because most of the time I still use FF 3.6. (Bring back the d*%n Status Bar! Then I'll use the new versions regularly.)

After more than 7 years of having "Page Source" be the most useful thing in the View menu (since at least version 0.8 back in 2004), these numbskulls decide that the View menu shouldn't provide all the viewing options available?

more options

Yo are right and I was badly surprised too.

I do not consider the source code view to be a feature for web developers, it is more for the common user. But at least once you know it is hidden there, it's OK for me.