Internet Course Website
Tags and HTML
|
Class # 1 , Class # 2 ,Class # 3 , Class # 4 , Class # 5 , Class # 6 |
Class #5
|
Horizontal Rules <HR WIDTH="40%">
A percentage of the width of the browser window. <HR noshade> it removes the shadow effect (white area) and leaves a grey line <HR ALIGN="CENTER"
SIZE="4" WIDTH="255"> |
||||||||||||||||||||||||||||
|
|
<hr width=25% size=1> <hr width=50% size=5> <hr width=75% size=10> <hr width=100% size=15>
<hr width=50% noshade size=5 > <hr width=50% noshade size=10 > |
|||||||||||||||||||||||||||
|
IMAGES <img src="filename.jpg" width="100" height="100" border="2" alt="text description">
By using WIDTH and HEIGHT you will cut down the time it takes for a browser to load a HTML page. The browser reads all of the WIDTH and HEIGHT's on a page and leaves space for them to load while the text and everything else loads faster and fills in the page (the viewer has something to look at while waiting). Then the images load and fill in the blank spaces. It's usefull for large images or when there are many images per page or a slow modem connection. |
||||||||||||||||||||||||||||
|
1x1 pixel image
<IMG SRC="1x1.gif"
WIDTH="40" HEIGHT="40">
<IMG SRC="1x1.gif"
WIDTH="120" HEIGHT="14"> <IMG SRC="1x1.gif"
WIDTH="200" HEIGHT="50"> |
||||||||||||||||||||||||||||
|
A 1x1 GIF image with one color is 1KB in size. By changing the WIDTH and HEIGHT amounts you can create single colored lines, boxes and the like. WIDTH and HEIGHT are also used to create smaller and larger version of an image. Some people use this to create thumbnails instead of actually creating a smaller file. The problem with this shortcut to thumbnails it doesn't decrease the KB size of the file, just it's size on screen. |
||||||||||||||||||||||||||||
|
<IMG SRC="image.gif" ALIGN="top"> Align="LEFT"
|
||||||||||||||||||||||||||||
|
This is the link that you use so the viewer can email you using their browser option. <a href="mailto:myemail@myisp.com">text</a> This is the link that you use so that you can chose the "subject" line. It helps you know where they where on your site as well as making sure you can spot viewer e-mail. Any spaces left in the link will be filled in with %20 so it's best if you use a hyphen or an underscore.
|
||||||||||||||||||||||||||||
|
SOUND <A HREF="filename.wav"> text</A> <A HREF="filename.wav"><IMG SRC="imagefile.gif"></A> <BR> text (6K File)
This will create an
infinitely looping sound. To create a sound
that doesn't loop: Netscape This will create an
infinitely looping sound. To create a sound
that doesn't loop: |
||||||||||||||||||||||||||||
|
OPTIONAL, you don't have to include this in the projects. To control Margins <body bgcolor="#ffffff" SPACING="0" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0"> SPACING="0"
Experiment with different values and see what happenes. |
||||||||||||||||||||||||||||
|
Layout / Storyboarding
Use a consistent layout. |
||||||||||||||||||||||||||||
To go to Class # 6
[ HOME ] [ Tags ] [ Text ] [ Graphic ] [ General ] [ Links ]
This site is maintained by Georgia Panaritis.
For more information, send e-mail to spikeschip@javascrypt.com