Webmaster

References : HTML 4.0

 | Index | 
 | Structure | Text paragraphs and phrases | Text formatting | Lists | Links | Tables | Frames | Embedded content | Style | Forms | Scripts | 
 | All tags | 

Embedded content

Embedded content refers to Java applets, image maps (or clickable images), and any other multimedia or programmatic content that enhances a Web page functionality.

<applet> | <area> | <img> | <map> | <object> | <param>

<applet>...</applet>
Includes a Java applet.
 
Starting/ending tag Required/Required
 
Deprecated Deprecated align="...": Controls alignment (left, center, right, justify).
alt="...": Text displayed during loading.
archive="...": Identifies the resources to be preloaded.
code="...": Applet class file.
codebase="...": Applet base URL.
height="...": Initial height of the displayed applet.
hspace="...": Horizontal space separating the image from other content.
name="...": Applet name.
object="...": Serialized applet file.
vspace="...": Vertical space separating the image from other content.
width="...": Initial width of the displayed applet.
 
Empty No
 
Notes The applet element is deprecated in favour of the object element.
 
Example<applet code="HelloWorld" width=150 height=25></applet>
 
 Top
<area>
Defines links and anchors.
 
Starting/ending tag Required/Illegal.
 
Attributes Attributes shape="...": Enables you to define client-side image maps using defined shapes (default, rect, circle, poly).
coords="...": Size of the shape using pixel or percentage lengths.
href="...": URL of the linked resource.
target="...": Determines where the resource will be displayed (user-defined name, _blank, _parent, _self, _top).
nohref="...": Indicates that the zone has no action.
alt="...": An alternative text to display.
tabindex="...": Defines the tabbing sequence between elements with a tabindex.
 
Empty Yes
 
Notes In XHTML 1.0, this tag should be in the form <area /> to ensure compatibility with older browsers.
 
Example<map name="map">
<area href="page1.html" alt="Access Guide" shape="rect" coords="0,0,100,100">
<area href="page2.html" shape="poly" coords="200,200,200,0,300,20,300,180">
<area href="page3.html" shape="circle" coords="150,150,50">
</map>
<img src="image.gif" usemap="#map">
 
 Top
<img>
Includes an image in the document.
 
Starting/ending tag Required/Illegal.
 
Attributes Attributes %coreattrs, %i18n, %events
src="...": image URL .
alt="...": An alternative text to display.
height="...": Image height.
width="...": Image width.
usemap="...": client-side image map URL.
ismap: Identifies a client-side image map.
 
Deprecated Deprecated align="...": Controls alignment (left, center, right, justify).
border="...": Border width.
hspace="...": Horizontal space separating the image from other content.
vspace="...": Vertical space separating the image from other content.
 
Empty Yes
 
Notes In XHTML 1.0, this tag should be in the form <img /> to ensure compatibility with older browsers.
 
Example<img src="my_image.jpg" width="50" height="50">
 
 Top
<map>...</map>
Creates a client-side image map when used with the area element.
 
Starting/ending tag Required/Required
 
Attributes Attributes %coreattrs
name="...": Name of the client-side image map to be created.
 
Empty No
 
Example<map name="map">
<area href="page1.html" alt="Access Guide" shape="rect" coords="0,0,100,100">
<area href="page2.html" shape="poly" coords="200,200,200,0,300,20,300,180">
<area href="page3.html" shape="circle" coords="150,150,50">
</map>
<img src="image.gif" usemap="#map">
 
 Top
<object>...</object>
Includes an object.
 
Starting/ending tag Required/Required
 
Attributes Attributes %coreattrs, %i18n, %events
declare: This flag indicates that the current object definition is merely a declaration.
classid="...": object location URL.
codebase="...": Base URL for resolving URLs specified by other attributes.
data="...": object data URL.
type="...": Internet content type for the data.
codetype="...": Internet content type for the code.
standby="...": Displays a message while loading.
height="...": Object height.
width="...": Object width.
usemap="...": URL to an image map.
shapes=: Allows you to define areas to search for hyperlinks if the object is an image.
name="...": URL to submit as part of a form.
tabindex="...": Defines the tabbing sequence between elements with a tabindex.
 
Deprecated Deprecated align="...": Controls alignment (left, center, right, justify).
border="...": Border width.
hspace="...": Horizontal spacing between the image and other content.
vspace="...": Vertical spacing between the image and other content.
 
Empty No
 
Example<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab
#3,0,0,0" width="350" height="140">
 
 Top
<param>
Initialises an object.
 
Starting/ending tag Required/Illegal.
 
Attributes Attributes name="...": Defines the parameter name.
value="...": Value of the object parameter.
valuetype="...": Defines the value type (data, ref, object).
type="...": Internet media type.
 
Empty Yes
 
Notes In XHTML 1.0, this tag should be in the form <param /> to ensure compatibility with older browsers.
 
Example<applet code="SlideProjector.class">
<param name="width" value="250">
<param name="height" value="450">
</applet>
 
 Top

 | Index | 
 | Structure | Text paragraphs and phrases | Text formatting | Lists | Links | Tables | Frames | Embedded content | Style | Forms | Scripts | 
 | All tags |