|
To access the contents, click the chapter and section titles.
Platinum Edition Using HTML 4, XML, and Java 1.2
Attributes: The <IFRAME> tag can take the following attributes:
Example: <IFRAME SRC= float_content.html WIDTH= 50% HEIGHT= 50% ALIGN=RIGHT SCROLLING= NO NAME= floater FRAMEBORDER=1> Your browser does not support floating frames. :( </IFRAME> Executable Content TagsOne 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. HTML 4.0 supports two ways for placing executable content: the <APPLET> tag for Java applets and the <OBJECT> tag for other executable objects. These tags, along with the supporting <PARAM> tag, are profiled in this section. <APPLET> Type: Container Function: Places a Java applet on a page. The <APPLET> tag has been deprecated in favor of using the more generic <OBJECT> tag to place applets. Syntax: <APPLET WIDTH= width_in_pixels HEIGHT= height_in_pixels CODEBASE= base_URL_for_applet CODE= applet_class file OBJECT= serialized_applet_file NAME= applet_name ARCHIVE= archive_list ALT= text_alternative ALIGN= TOP|MIDDLE|BOTTOM|LEFT|RIGHT HSPACE= pixels VSPACE= pixels > ... </APPLET> Attributes: As the following list demonstrates, many of the <APPLET> tags attributes are the same as those for the <IMG> tag:
Example: <APPLET WIDTH=250 HEIGHT=200 CODE= marquee.class NAME= marquee ALT= Scrolling text marquee applet ALIGN= RIGHT HSPACE=5 VSPACE=12> <PARAM NAME= message VALUE= Hello World! > ... </APPLET> Related Tags: Parameters are passed to a Java applet using the <PARAM> tag. <PARAM> Type: Standalone Function: Passes a parameter to a Java applet (<APPLET>) or other executable object (<OBJECT>). Syntax: <PARAM ID= unique_identifier NAME= parameter_name VALUE= parameter_value VALUETYPE= DATA|REF|OBJECT TYPE= expected_content_type >
|
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement. |