SPEED | A | B | C | D | E | F | H | I | K | L | | M | N | O | P | S | T | U | V | W | X | FINDER |
|
|
Contents
HTML Elements (c - h)
<i> italic<em>.
<i>Drilling?</i>, repeated Ginger, <i>How would I know how to drill? I'm
a cat...</i>, he said.
![]()
<iframe> floating frame
src=URLheight=pixels|percent,
width=pixels|percenthspace=pixelsvspace=pixelsalign=left|right<br> tag to prevent the wrapping.
frameborder=0frameborder to zero.
![]()
<iframe align=right hspace=40 width=75% height=150
src="http://www.woodhill.co.uk/setup/houshold.htm">
</iframe>
<br clear=all>
<img> imagesrc=URLlowsrc=URLsrc attribute. The most useful application of this attribute is to provide
initially a low resolution, ie. quick download, version of the main picture. The main picture
then fades in over its low resolution image. Any height or
width attributes specified will be applied to both images. If no
height or width attributes are supplied then the second
image, as specified by the src attribute, will be scaled to the same
dimension as the intial lowsrc image.
align=left|right|middle|top|texttop|
absmiddle|baseline|bottom|absbottomleft and right are probably the most useful and create
a new floating type graphic which finds the next available margin to allow
text to wrap. The rest of the align options are an attempt to get graphics to do exactly what
you want them to. Top aligns with the top of the tallest item in the line.
Texttop aligns with the top of the tallest text in the line (not always the
same as top). Middle aligns the middle of the image
with the baseline of the current line. Absmiddle aligns the middle of the
image with the middle of the current line. Baseline aligns the bottom of
the image with the baseline of the current line. Bottom does exactly the
same as baseline. Absbottom aligns the bottom of the
image with the bottom of the current line.
You must use align if you wish to wrap text around the graphic,
otherwise the image will behave as a character. Note: to place an image in the centre of the
screen you must use <center>
alt=textalt text set as a ToolTip to be displayed when the users
mouse pauses over the image.
border=valueborder=0
to turn off the border.
height=value, width=valuewidth or height attributes are specified, maintaining
the aspect ratio. Not all browsers support this attribute. It is very good idea to
specify the width and height for every image you use, as browsers can then display
text before the images have loaded, giving the effect of quicker downloads.
hspace=valuevspace=value![]()
<a TARGET="_top" href="http://adaweb.com/adaweb/influx/long/long0.html">
<img align="left" border=0 height=75 lowsrc="graphics/body0.gif"
src="graphics/body1.gif" hspace=15 alt="[amorphous body]">
Armorphous body</a>
![]()
Armorphous body
dynsrc=URLalign,
width and height will still be applied to video. If the
src attribute is also used then browsers not supporting
dynsrc can display a still image instead of video. The
start, controls, loop and
loopdelay attributes can be used with dynsrc to
determine how the video plays.
start=fileopen | mouseoverdynsrc. Specifies when the video starts playing.
If set to fileopen, the video starts playing as soon as it loaded. If set to
mouseover, the video starts playing as soon as the mouse cursor is moved
over it. Both values can be specified at the same time.
loop="n | infinite"dynsrc. Specifies how many times the video will
play when activated. If n=-1, or if
loop=infinite, it will play indefinitely.
loopdelay="n"dynsrc. Specifies the delay between play loops
in milliseconds.
controlsdynsrc. If this attribute is present then a
play/pause/skip control panel is displayed under the video window.
![]()
<img dynsrc="video/arrow.avi" src="graphics/arrow.jpg" start="mouseover" loop=2
loopdelay=500 controls>
![]()
ismapusemap="name"usemap attribute
contains the location of the map file and uses the same syntax as the href attribute of the <a> element. The map definition
can be contained within the HTML document, in which case a # is used to
indicate a local file. If the map was contained separately in a graphics
directory, the usemap attribute could read
usemap="graphics/picture.map". For more information, see the section
dedicated to Image maps.
<input> form input box<kbd> keyboard
Type your <kbd>login</kbd> and <kbd>password</kbd> to continue.
![]()
Contents![]() HTML Elements (l - m) ![]() |
| Sizzling HTML Jalfrezi | |
| ©1997 Richard Rutter | ![]() |
| rrutter@woodhill.co.uk | |