previous |
start |
next
Images and Hyperlinks
To include a graphic image into a Web document, the <IMG>
markup is used. It can take several optional parameters, and can
refer to a variety of image formats. Basic usage is:
<IMG SRC="photo.gif">
It could also look something like:
<IMG SRC="photo.gif" align=right width=200
height=100 alt="Photo">
The hyperlink is the basis
of the entire "linked documents" idea of the Web. The HTML looks
like:
<A HREF="http://www.latrobe.edu.au/index.html">La
Trobe University</A>
In a browser, this would normally be displayed something like:
La
Trobe University
When the user moves the cursor (mouse pointer) over this text, and
"clicks", the browser fetches the URL named in the HREF parameter
and displays it instead of the current page.
previous |
start |
next