Day 2 Exercise 4
Copying HTML tagging on the Web is one of the best ways to learn about HTML. In
this exercise, we'll cover copying material from the source of an HTML document
and using a PC-based editor to edit an HTML file on the PC.
Part 4.1: View, copy and paste HTML Code.
- Open Netscape.
- Choose "Open Location" from the file menu. Enter the URL:
http://www.lehigh.edu/~inwww/work/mylinks.html
- To see the actual HTML that's creating your page, choose
"Document Source" from the View menu.
- Select (highlight) the whole contents of the page, then press
Ctrl-C to copy them.
- Open Notepad.
- Click on Start.
- Choose "Programs".
- Choose "Accessories".
- Choose "Notepad".
- Click in the Notepad document and press Ctrl-V to paste in
the HTML text you've copied.
- Change the word "My" in the title to your name.
- Make the names of the sites bold, by adding B elements: put a <B> tag
before each site name, and a </B> tag after each name.
- Choose Save As from the File menu to save the file.
Enter c:\links.htm as the file name.
- Open Netscape. From the File menu, choose "Open File in Browser".
- Enter c:\links.htm in the Filename box.
- View the page you just created.
End of Exercise.
JAH, 13 Sept 1996.