Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online

Html object tag code learning guide 2012 Donate at flattr Flattr this





Alert! Connect with 10,000 Chating Online. Join Now

Html object


Learn html object codes and tags using the sample below.

Html object

OBJECT

If Data is specified alone, the object found at that URL will be rendered by the browser, as is. Classid specifies an external application to render Data, or an external stand-alone object, to be displayed in-line. Codebase is a BASEREF for the classid application. Standby is displayed during loading of the object. If the browser cannot render the object, any text or secondary nested object between the outside OBJECT tags will be rendered. Specifying Type for the data, or a Codetype for the application will prevent the browser from downloading an object it cannot render. Generally, use the Data section for images, sound or any object a browser can natively display. Use the Classid section for Java applets, ActiveX controls, etc. Height and width applies to all.

CODE
Image Object
<OBJECT

    DATA="image.gif"

    ALT="Broken image, eh?"

    HEIGHT="30"

    WIDTH="80">

	<P>Hmm... which alternate stuff will it display?

</OBJECT>
(The tag attributes have been indented to fit on the screen.)
ActiveX Control, JavaApplet
<OBJECT

    ID="Label Object"

    CLASSID="CLSID:99B42120-6EC7-11CF-A6C7-00AA00A47DD2"

    WIDTH="80"

    HEIGHT="30">

      <PARAM NAME="option1" VALUE="customization1">

      <P>You can't see my ActiveX Control.

</OBJECT>



<OBJECT

    CLASSID="doNada.class"

    CODEBASE="/right/here"

    WIDTH="80"

    HEIGHT="30"

    ALT="Where dit go?">

      <PARAM NAME="option1" VALUE="customization1">

      <P>You've been decaffienated.

</OBJECT>

ID is the name you are giving this object to refer to it from scripts. The CLASSID, in the case of ActiveX, is the address of the object taken from the Windows registry using the protocol "CLSID:".

In the case of JavaApplets, an additional parameter named CODEBASE is used to set the BASEREF path to the applet. PARAM tags give you the ability to futher customize how the applet appears and functions within the current document. In addition to the ALT parameter, it is also possible to put alternative content between the OBJECT tags, although neither method has proven to be consistent cross-browser.

BROWSER
Image ObjectActiveX Control/Java Applet

Hmm... which alternate stuff will it display?

You can't see my ActiveX Control.

You've been decaffienated.



Html object source code

 

Html object tutorial

Html object code on this is provided for your study purpose, it will guide you to know how create and design a website using html. use it to practice and train your self online

All the tutorials on this site are free, the page code is provifed for you to use it to practice, if you want to help to improve and maintain this work, you can donate to us on.



Html tutorial guide and web design in easy steps


Beginners guide to html

Html tag

image

abbracro

nobr

object

css

paragraph

blockquote

table

meta

bdo

code

ol

ascii

ssi

q

divspan

address

fieldset

ul

insdel

checkbox

textformat

dl

anchor

form

All the tutorials on this site are provided for free. You can copy and print the tutorials and code on this site, but you are not allowed to reproduce this information on another website. All rights reserverd 2012
 

Css Generator    Htaccess Generator    Percentage Calculator   Area conversion

Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online