This preview shows page 1. Sign up to view the full content.
Unformatted text preview: browser, and if you click on it,
the browser will go to the location specified by the href attribute. And here’s an example of an image tag:
<img src=”http://www.ucdavis.edu/images/common_home/home_logo_2.gif”> This tag doesn’t have an ending tag. It also has an attribute, the src attribute, that specifies where the image
can be found. 2. A Simple Document
Open notepad (Start -> All Programs -> Accessories -> Notepad)
Type the following into your file:
Save the document with the name “index.html”, and be sure to change the “Save as type” selection to “All Files”.
That’s a pretty simple document, huh? It has a heading section and a body section, both inside an html section.
Let’s make it say something. First off, let’s add a title. Between the <head> and </head> ta...
View Full Document
- Summer '08