HTML Lesson #3
© D. Weinberger and
D. Thiébaut
Assume that you would like your text to say
click here to go to the Lego Mindstorms Page. |
and that you want the word here to be a link to the page in question. Then you would enter the text as follows:
click <A HREF="http://www.legomindstorms.com">here</A> to go to the Lego Mindstorms Page |
Create a new Web page (or modify one you already have), and generate a list of links to the following URLs. These are pages that you should spend time visiting during the week. They contain good design and project ideas. On the left is a description of the page, and on the right is the actual URL:
The Lego Mindstorms official Web page |
http://www.legomindstorms.com |
The Legobot Headquarters | http://www.geocities.com/Area51/Station/3260/ |
Design tips and tricks | http://www.cs.ruu.nl/people/markov/ lego/tips/index.html |
Bumper car design | http://www.enteract.com/~dbaum/lego/ creations/bumper.html |
A Lego garbage truck | http://www.enteract.com/~dbaum/lego/ creations/garbage.html |
More Lego creations | http://www.enteract.com/~dbaum/lego/creations |
Here's one way of starting on this exercise, in case you are not sure.
A list of interesting robot-related sites: <UL> <LI>The official <A HREF="http://www.legomindstorms.com">Web page</A> for the Lego Mindstorms. <LI>... |
Here is a list of my pages: <UL> <LI>my <A HREF="firstpage.htm">first page</A> <LI>the <A HREF="lab2.htm">page</A> I created for Lab #2 <LI>the <A HREF="lab3.htm">page</A> of the speed/power challenges </UL> |
The following examples use a picture of the RCX (TheBrick.jpg) and show you how to change the size of an image. You may have to go through a trial and error process to find the right height and width proportion. The first example is the raw, unsized image.
<IMG SRC="TheBrick.jpg" ALIGN="MIDDLE">
<IMG SRC="TheBrick.jpg" ALIGN="MIDDLE" HEIGHT="120" WIDTH="100">
<IMG SRC="TheBrick.jpg" ALIGN="MIDDLE" HEIGHT="60" WIDTH="50">
<IMG SRC="TheBrick.jpg" ALIGN="MIDDLE" HEIGHT="30" WIDTH="25">
I like playing with the <IMG SRC="TheBrick.jpg" ALIGN="MIDDLE"> brick!
I like playing with the <IMG SRC="TheBrick.jpg" ALIGN="TOP"> brick!
I like playing with the <IMG SRC="TheBrick.jpg"> brick!