Embedded Content


Also called inclusions, embedded content applies to Java applets, imagemaps, and other multimedia or programmatic content that's placed in a web page to provide additional functionality.

<applet>...</applet>

Usage

Includes a Java applet.

Start/End Tag

Required/Required.

Deprecated

align="..."Controls alignment (left, center, right, justify).

 

alt="..."Displays text while loading.

 

archive="..."Identifies the resources to be preloaded.

 

code="..."The applet class file.

 

codebase="..."The URL base for the applet.

 

height="..."The width of the displayed applet.

 

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

 

name="..."The name of the applet.

 

object="..."The serialized applet file.

 

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

 

width="..."The height of the displayed applet.

Empty

No.

Notes

Applet is deprecated in favor of the object element.


<area>

Usage

Defines links and anchors in a client-side image map.

Start/End Tag

Required/IllegalSee note for XHTML 1.0 requirements.

Attributes

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

 

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

 

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

 

target="..."Determines where the resource will be displayed (user-defined name, _blank, _parent, _self, _top).

 

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

 

alt="..."Displays alternative text.

 

tabindex="..."Sets the tabbing order between elements with a defined tabindex.

Empty

Yes.

Notes

In XHTML 1.0, this tag should take the XML form of <area /> to ensure compatibility with older browsers.


<img>

Usage

Includes an image in the document.

Start/End Tag

Required/IllegalSee note for XHTML 1.0 requirements.

Attributes

%coreattrs, %i18n, %events.

 

src="/books/2/631/1/html/2/..."The URL of the image.

 

alt="..."Alternative text to display.

 

height="..."The height of the image.

 

width="..."The width of the image.

 

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

 

ismapIdentifies a server-side imagemap.

Deprecated

align="..."Controls alignment (left, center, right, justify).

 

border="..."Border width.

 

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

 

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

Empty

Yes.

Notes

In XHTML 1.0, this tag should take the XML form of <img /> to ensure compatibility with older browsers.


<map>...</map>

Usage

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

Start/End Tag

Required/Required.

Attributes

%coreattrs.

 

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

Empty

No.


<object>...</object>

Usage

Includes an object.

Start/End Tag

Required/Required.

Attributes

%coreattrs, %i18n, %events.

 

declareA flag that makes the current object definition a declaration only.

 

classThe URL of the object's location.

 

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

 

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

 

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

 

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

 

standby="..."Show message while loading.

 

height="..."The height of the object.

 

width="..."The width of the object.

 

usemap="..."The URL to an imagemap.

 

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

 

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

 

tabindex="..."Sets the tabbing order between elements with a defined tabindex.

Deprecated

align="..."Controls alignment (left, center, right, justify).

 

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

 

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

 

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

Empty

No.


<param>

Usage

Initializes an object.

Start/End Tag

Required/IllegalSee note for XHTML 1.0 requirements.

Attributes

name="..."Defines the parameter name.

 

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

 

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

 

type="..."The Internet media type.

Empty

Yes.

Notes

In XHTML 1.0, this tag should take the XML form of <param /> to ensure compatibility with older browsers.





Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day
Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day (5th Edition)
ISBN: 0672328860
EAN: 2147483647
Year: 2007
Pages: 305

Similar book on Amazon

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