A Complete Guide to Web Design

(やまだぃちぅ) #1
Summary of Object Placement Tags 147

ObjectsImages &

Summary of Object Placement Tags

Web Design in a Nutshell, eMatter Edition

height=number
Height of the applet window in pixels.


hspace=number
Holdsn pixels space clear to the left and right of the applet window.


name=text
Names the applet for reference elsewhere on the page.


vspace=number
Holdsn pixels space clear above and below the applet window.


width=number
Width of the applet window in pixels.


NN: 2, 3, 4- MSIE: 2, 3, 4, 5 -HTML 4- WebTV- Opera3

Plays an audio file automatically in the background when the document loads in
the browser. This tag is discussed in Chapter 19,Audio on the Web.


Attributes


src=url
This mandatory attribute provides the URL of the audio file to be down-
loaded and played.


loop=number|infinite
Sets the number of times the sound file should play. The value can be a
number or set toinfinite.


NN: 2, 3, 4 - MSIE:2, 3, 4, 5 -HTML 4- WebTV - Opera3
...

Embeds an object into the web page. Embedded objects are most often multi-
media files that require special plug-ins to display. Specific media types and their
respective plug-ins may have additional proprietary attributes for controlling the
playback of the file. Many of these are outlined in Chapters 19, 20, and 21 of this
book. The closing tag is not always required, but is recommended.


Attributes


align=left|right|top|bottom
NN 4.0 and MSIE 4.0 only.Controls the alignment of the media object relative
to the surrounding text.Topandbottomare vertical alignments.Leftand
rightposition the object on the left or right margin and allow text to wrap
around it.


height=number
Specifies the height of the object in number of pixels. Some media types
require this attribute.


hidden=yes|no
Hides the media file or player from view when set toyes.

Free download pdf