How to Copy Source Code

Remember that source code is not public domain. However, when you are learning to create a web page it is sometimes helpful to copy the code, study it, change it to fit your needs and thereby learn how to lay out your page by example.

  1. In your Internet Explorer (IE) browser, click on view, then source. (In Netscape it's view, page source.) Hold down the control key, press the letter, a then release. The whole document will be selected with a highlight. Hold down the control key, press the letter, c then release. This copies the code to the clipboard.
  2. Open Notepad from Programs, Accessories. Click inside the Notepad screen to bring your insertion point in, hold down the control key while pressing the letter, v. Release. Your code should copy to the open file.
  3. Save the file by changing the bottom window where it reads: Save as type by clicking on the down arrow to the right and choosing all files.
  4. Now you are ready to name it. Save it with a name making sure to add .html. (Take out the .txt extension, if necessary.) Save it to the A drive or a folder on the hard drive. (See how to create a folder from the Home Page.)
  5. Close out the source code by clicking on the x box in the top right. Close out the web page.
  6. In IE click on File, Open. (in Netscape it's File, Open Page.) In IE click browse. (In Netscape it's choose file.). Find the file you saved in Notepad and double-click it. In IE click on O.K. (In Netscape it's open). There's the page you copied!

Warning! Do not use this page as your own. This procedure is only to be used to help you see how others have laid out their page. Images may not be freeware, either, so don't presume!

Click Graphics on my Home Page to see some sources for free images and graphics.

Many web pages make use of tables and frames, but this is advanced. More on this later ...Virginia Curl Benson

Back to Home Page