Ctrl+U: View Source in Firefox

Maybe you’ll never need this one, but sometimes you want to see the actual HTML code used to create a web page.

In Firefox, go to the page you want to view and then press Ctrl+U. A new Window appears with the HTML code visible and colored appropriately.

(In Internet Explorer, you can press Alt+V to open the View menu, then press C to select the Source command. A Notepad window appears with the HTML code available for editing.)

Remember, Alt+F4 closes a window — use that when you’re done looking at the source HTML code.

10 thoughts on “Ctrl+U: View Source in Firefox”

  1. Sorry guys — missed Chris’s question when it first came up in January. I certainly do care.

    Chris, you’re right, and I’m wrong. It looks like Ctrl+U doesn’t work in any version of IE past version 4, so I’ve edited the article accordingly.

    The only keyboard method in recent version of IE is to press Alt+V to open the View menu, then C to select the Source command.

Leave a Reply

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