Lesson 1: Viewing Source Code

Overview

The following lesson demonstrates how to view a Source Code, cut and past source codes into your page, and modifying the source code.

  • Open a Web site in a browser
  • Display the Web page you want to view the HTML code for
  • Click View
  • Click source If you are using Netscape Navigator, click Page Source
    A separate window is opened that displays the HTML code used to create the Web page. When you finish viewing the HTML code click the X in the upper right corner to close the window.
  • Repeat the steps and view several sites to try and understand the code.

Cutting and Pasting Source Codes

You can cut and paste code to your local computer or into your Web pages. A word of caution however, codes that is taken off the Web should be modified. Keep in mind that Web pages on the Internet are copyrighted by their respective owners.