|
To access the contents, click the chapter and section titles.
Platinum Edition Using HTML 4, XML, and Java 1.2
Attributes: The <PARAM> tag can take the following attributes:
Example: <APPLET WIDTH=300 HEIGHT=224 CODE= test.class ALT= Test applet ALIGN= TOP NAME= test > <PARAM ID= P1 NAME= tolerance VALUE= 0.001 VALUETYPE= DATA > <PARAM ID= P2 NAME= pi VALUE= 3.14159 VALUETYPE= DATA > ... </APPLET> Related Tags: <PARAM> tags can be used only between the <APPLET> and </APPLET> tags or between the <OBJECT> and </OBJECT> tags. <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 DECLARE ALIGN= TEXTTOP|MIDDLE|TEXTMIDDLE|BASELINE|TEXTBOTTOM|LEFT|CENTER|RIGHT WIDTH= width_in_pixels_or_percentage NAME= object_name HEIGHT= height_in_pixels_or_percentage HSPACE= pixels VSPACE= pixels BORDER= pixels > ... </OBJECT> Attributes: The <OBJECT> tag has an exhausting list of attributes, but many of them are the same as those for the <IMG> tag, so they are fairly easy to understand:
Additionally, <OBJECT> can take these attributes:
Example: <OBJECT WIDTH=100% HEIGHT=100 CODETYPE= application/x-oleobject CLASSID= CLSID: 1A4DA620-6217-11CF-BE62-0080C72EDD2D CODEBASE= http://activex.microsoft.com/controls/iexplorer/marquee.ocx HSPACE=5 VSPACE=10 ALIGN=MIDDLE BORDER=0> <PARAM NAME= image VALUE= greeting.gif > <PARAM NAME= speed VALUE= 7 > <PARAM NAME= repeat VALUE= 1 > ... </OBJECT> Related Tags: Parameters passed to the object are given by the <PARAM> tag.
|
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. |