A Complete Guide to Web Design

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

ObjectsImages &

Summary of Object Placement Tags

Web Design in a Nutshell, eMatter Edition

pluginurl=url
Specifies a source for installing the appropriate plug-in for the media file.
Netscape recommends that you usepluginurl instead ofpluginspage.


type=MIME type
Specifies the MIME type of the plug-in needed to run the file. Navigator uses
either the value of the TYPE attribute or the suffix of the filename given as the
source to determine which plug-in to use.



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


Adds a horizontal rule to the page.


Attributes


align=center|left|right
If the rule is shorter than the width of the window, this tag controls hori-
zontal alignment of the rule. The default iscenter.


noshade
This displays the rule as a solid (non-shaded) bar.


size=number
Specifies the thickness of the rule in pixels.


width=number or%
Specifies the length of the rule in pixels or as a percentage of the page width.
By default, rules are the full width of the browser window.


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

Places a graphic on the page.


Attributes


align=type
Specifies the alignment of an image using one of the following attributes:


Type Resulting Alignment
absbottom Navigator 3.0 & 4.0 and Internet Explorer 4.0 only.Aligns the
bottom of the image with the bottom of the current line.
absmiddle Navigator 3.0 & 4.0 and Internet Explorer 4.0 only.Aligns the
middle of the image with the middle of the current line.
baseline Navigator 3.0 & 4.0 and Internet Explorer 4.0 only. Aligns the
bottom of the image with the baseline of the current line.
bottom Aligns the bottom of the image with the text baseline. This is
the default vertical alignment.
center According to the W3C Spec, this centers the image horizon-
tally on the page; however, in reality, browsers treat it the
same asalign=middle.
Free download pdf