Executable Content Elements

One of the ways in which Web pages have become more dynamic is through their support of executable content, such as Java applets and ActiveX controls. These page elements are downloaded to the browser and run in its memory space to produce dynamic content on the browser screen.

XHTML 1.0 supports the <object> element for placing executable content. This element, along with the supporting <param/> element, is profiled in this section.

<object>

Type:

Container

Function:

Places an executable object on a page.

Syntax:

 <object classid= "implementation_info" codebase="URL_of_object" codetype="MIME_type" data="URL_to_data" type="data_MIME_type" archive="list_of_archives" usemap="map_name" tabindex="tab_position" standby="message_while_loading" ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.