XHTML Embedded Content


Also called inclusions, embedded content applies to images, imagemaps, Java applets, Flash animations, and other multimedia or programmed content that is placed in a Web page to provide additional functionality.

<area />

Usage

The <area> element is used to define links and anchors.

Start/End Tag

Required/Illegal.

Attributes

core, i18n, events.

shape="value" Enables you to define client-side imagemaps using defined shapes (default, rect, circle, poly).

coords="values" Sets the size of the shape using pixel or percentage lengths.

HRef="linkurl" The URL of the linked resource.

nohref="nohref" Indicates that the region has no action.

alt="alttext" Displays alternative text.

onfocus="eventcode" The event that occurs when the element receives focus.

onblur="eventcode" The event that occurs when the element loses focus.

Empty

Yes.


<img />

Usage

Includes an image in the document.

Start/End Tag

Required/Illegal.

Attributes

core, i18n, events.

src="sourceurl" The URL of the image.

alt="alttext" Alternative text to display.

height="height" The height of the image.

width="width" The width of the image.

border="border" Border width.

hspace="horizontalspace" The horizontal space separating the image from other content.

vspace="verticalspace" The vertical space separating the image from other content.

usemap="mapurl" The URL to a client-side imagemap.

ismap="ismap" Identifies a server-side imagemap.

longdesc="descurl" A URL to a long description of the image; for browsers that don't display images.

Empty

Yes.


<map></map>

Usage

When used with the <area> element, creates a client-side imagemap.

Start/End Tag

Required/Required.

Attributes

core, i18n, events.

name="name" The name of the imagemap to be created.

Empty

No.


<object></object>

Usage

Includes an object.

Start/End Tag

Required/Required.

Attributes

core, i18n, events.

declare="declare" A flag that declares but doesn't create an object.

classdocEmphasis">objecturl" The URL of the object's location.

codebase="codebaseurl" The URL for resolving URLs specified by other attributes.

data="dataurl" The URL to the object's data.

type="datatype" The Internet content type for data.

codetype="codetype" The Internet content type for the code.

standby="waitmsg" Show message while loading.

height="height" The height of the object.

width="width" The width of the object.

border="border" Displays the border around an object.

hspace="horizontalspace" The space between the sides of the object and other page content.

vspace="verticalspace" The space between the top and bottom of the object and other page content.

usemap="mapurl" The URL to an imagemap.

shapes="shapes" Enables you to define areas to search for hyperlinks if the object is an image.

name="nameurl" The URL to submit as part of a form.

Empty

No.


<param />

Usage

Initializes an object.

Start/End Tag

Required/Illegal.

Attributes

name="name" Defines the parameter name.

value="value" The value of the object parameter.

valuetype="valuetype" Defines the value type (data, ref, object).

type="contenttype" The Internet medium type.

Empty

Yes.





SAMS Teach Yourself HTML and CSS in 24 Hours
Sams Teach Yourself HTML and CSS in 24 Hours (7th Edition)
ISBN: 0672328410
EAN: 2147483647
Year: 2005
Pages: 345

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net