How to view the source code of a website

in
Mozilla Firefox,
posted Oct 25th 2011

To view the HTML source code a website in Firefox you can click with the mouse right button to bring up the contextual menu, and use the "View Page Source" option.

Also, the "Web Developer" menu has the same "View Page Source" option; if you're using the menu bar, you can find that menu under the "Tools" menu, and if you're using the new Firefox menu button, you'll find it in the first column, just under "Print".

Also, Firefox has a keyboard shortcut for viewing the source code; just press "Ctrl" and "U" simultaneously, and the source for the current page will open.