Microsoft internet Explorer users
To view the source code of a web page in Microsoft Internet Explorer, follow the below steps.
Once the above steps have been completed a new window will open displaying the source code.
Mozilla Firefox and Netscape users
To view the source code of a web page in Mozilla Firefox or Netscape, follow the below steps.
or
Once the above steps have been completed a new window will open displaying the source code.
Tip: In Firefox you can highlight the portion of a web page you want to view the source code of and then right-click that highlighted section and click View Selection Source.
Tip: Use the Firebug add-on to not only view the source code of a page but change and view those changes live through the browser.
Opera users
To view the source code of a web page in Opera, follow the below steps.
or
Once the above steps have been completed a new window will open displaying the source code.
If you press F12 you should be able to view all the source code
HTML source simply refers to the markup language that makes up a web page. You can view the HTML source for this page by using your browser's "View Source" or "View Source Code" menu option.
technically spoken, source code is everywhere, because every web page you open in your browser is source code that is interpreted by your browser and displayed following certain rules. every browser I can think of has a "display source code" option somewhere (mostly in the "Views" section) that allows for displaying the pages source code, although you won't be able to see the source code of scripting languages like PHP or Ruby in the browser with this function.
PHP is server-side, the browser itself does not interpret it. Rather, the browser sends a query to the server, and the PHP scripting generates custom HTML document. It is this HTML that you are seeing the source code of.
It depends on what browser you're using. If you're using IE, then you have to go to View->Source to open a new window with the source code. If you're using another major browser, Ctrl+U will show the source code.
Open the page in your web-browser. In the "View" menu, there should be a menuitem named "Source".... select this. If the browser you use doesn't have thie menu or menuitem, check throguh the other menus, looking for one called either "Source" or "View Source".
It is different for every browser. Generally, you right click on the page and select and option like "view source" or "open source".
what do you mean by the "source code" page viewed in a web browser
It depends on the browser, but most of the time, you view the HTML markup by right-clicking the page and clicking "View source" or "View page source".
Write an ASP code that will dislplay the source code of the web page in the Browser window.
Open the page that interests you, and look in your browser for the option to view the "source code". The details vary; for example in FireFox, you can press Ctrl-U (shortcut for "Web Developer - Source code" - which may be slightly different since I translated it back from Spanish), to see the source code of a Web page.
In Internet Explorer you use the View|Source (or Ctrl+U) to display the page source code. You also can left-click on the page and select View Source. Chrome is Menu|More Tools|View Source. Ctrl-U also works with Chrome.