Very
Simple
Web
Pages
Lessons
&
Exercises
SIMPLE
EDITING
Tables on this page
Text on this page
Colors on this page
Links on this page
Picture on this page
Contact Us
29 May
05
|
Graphics
Portland -- at the end of the 19th Century
In your html editor, look at what parameters
you are asked to supply.
Parameter
|
Here
|
Comments
|
height |
310 pixels |
The height and width
used here are the original dimensions of the picture. We can change
one or both, retaining the original aspect ratio or not, as we choose. |
width |
450 pixels |
If we ask the browser
to enlarge the picture, it may have poor resolution. If we shrink the
picture, we waste loading time. |
surrounding space |
all 0 here |
|
text alignment |
try them |
These sometimes give
unexpected results. |
alt text |
Early Portland |
This is provided for
browsers that have the graphics turned off. It's especially important
if the picture is also a link. Many browsers display the alt text
when the mouse cursor if placed over the picture. |
link |
judgemarq.html |
Clicking on the picture
links to a page that has the same picture at its bottom. |
The html code directs the browser to the location
of the graphic file: it might be in the directory of the html file, or it
could be at a URL on the other side of the Earth (need an absolute URL then,
of course).
|