Lab 6: Web Page Creation

The body contains what you really see on the web page

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: also refer to a stylesheet for the document (more on that later.) It is enclosed in a <head> </head> tag pair. The body contains what you really see on the web page, and it is enclosed in a <body> </body> tag pair. 1.2. Other useful tags Two really useful tags are the tags for hyperlinks, the a tag (for anchor), and the tag for an image, img. Here they are: Here’s an example of an anchor tag: <a href=”http://www.cs.ucdavis.edu/~liu/ECS15/15.html”>Course home page</a> Notice the name of the tag is a, but it has another thing after it, the href=“class URL” bit. This is called an attribute: this anchor tag has an attributed, named href, whose value is the URL for the course home page, enclosed in quotes. The text between the beginning tag and the ending tag will show up as a link in the...
View Full Document

This lab report was uploaded on 03/13/2014 for the course CS 15 taught by Professor Staff during the Summer '08 term at UC Davis.

Ask a homework question - tutors are online