How to look at the code of the website

How to look at the code of the website

The possibility of viewing the source code of the different websites is very useful during independent creation of the website. You can see the HTML-code, using special settings and additional expansions of the browser and also the program for viewing text files.

It is required to you

  • - program browser;
  • - program notepad.

Instruction

1. Find in the browser a menu item ""The source code of the website"". For example, in the Mozilla Firefox program it can be found in the section "Web development" which is in the Tools paragraph of the main menu, and in the Internet Explorer browser the call of viewing HTML code is carried out from the View paragraph of the main menu. Visit the website which code you would like to study. After loading of the page select the Source Code of the Website tool. The program will give a special window in which you will see the code. If the contents of the page are displayed incorrectly, try to change coding.

2. Standard functions of the browser can be expanded by means of a plug-in. Quite often on the website of the developer of the program it is possible to find the expansion allowing to browse the code of the website. For example, the plug-in for Mozilla Firefox is called Firebug, for the Opera browser – DragonFly. Download and install a plug-in. Quite perhaps, reset of the browser will be required. Further visit the necessary website. Press the plug-in console call key - it can be located on one of working panels of the program, - then the additional window in which the source code of the open page will be displayed will appear.

3. Save necessary pages of the website by means of the corresponding function of the browser. For this purpose click "File" the paragraph of the main menu and select the inscription "Save as". Select the place on the computer in which you save the copy of the page. Then in a drop-down menu with the name "File type" select the Web Page, Completely or Web Page, Only HTML option. Click on "Save". Repeat the procedure with all necessary pages of an Internet resource. Open the folder in which files were saved. Select one of pages and start it by means of the program of a notepad. You can use Windows installed in the operating system the Notepad utility, but download more convenient Notepad program ++ better. In it there is a function of division of different types of HTML tags in the flowers.

Author: «MirrorInfo» Dream Team


Print