The Computer Gal Logo - Laptop with coffee and plants
Viewing and Manipulating an HTML File

Viewing and manipulating web page files

If you would like to receive weekly emails with articles like this one, email Nora

When you work on web pages, you need to use the files in two ways: 1) you need to make changes to the files; 2) you need to view your changes. However, you need to use three programs to do this.

  1. The web file lives in a folder on your hard drive. Windows keeps track of these files and folders. From Windows, you can open files, delete files or move files to other folders.

    However, your web site is different from the other types of files on your computer. The photos you have stored on your computer don't have any effect on each other. If you move or delete a file, it doesn't break anything else. Your web files affect each other. If a file has a link from another file, moving or deleting a file breaks links and graphics. So, iIf you move your files around in Windows, those links will be broken. You will need to fix the links in code. However, if you are copying your whole site to another place such as a USB drive, a CD or another place in Windows; it's best to move it in Windows.
  2. You will use some program to create or make changes to your HTML files. You could use a text editor, such as Notepad or Simple Text. Notepad or Simple Text can't show you want your web site looks like. All they can do is allow you to change the text; they can't interpret the code to show a web page.
  3. You need a browser to show you what the page looks like. However, the text editor has the page loaded in it's own chunk of memory. Your browser can't get to the memory being used by the text editor. So, when you look at the page in the browser, you will have to save your work and reopen the page from where it is stored on your hard drive.

The diagram on the next page will show you the basic steps to working on a web page in a Text Editor.

 

Nora McDougall-Collins | Missoula, Montana 59801 | 406.253.4045 | info@thecomputergal.com
© 2009, Nora McDougall