The HTML Attribute reference.

"classid" - html Attribute

  • May be used to specify the location of an object's implementation via a URI.
  • It may be used together with, or as an alternative to the data attribute, depending on the type of object involved

Value(s): uri

Attribute "classid" example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<!-- some browsers need the The Document Type Declaration -->
<html >
  <title>Object element example</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  <!--if not IE (Firefox and other browser will use outer object -->
  <object classid="java:Clock.class"
          height="300" width="550" >
   <!-- Some browser needs the following param -->
   <param name="code" value="Clock" />
   <param name="archive" value="Clock.jar" />
   <!-- end if-->
   <!-- MSIE (Microsoft pre. v.8 of Internet Explorer)
will use inner object -->
   <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
 height="300" width="550" >
    <param name="code" value="Clock" />
    <param name="archive" value="Clock.jar" />
     This browser does not have a Java Plug-in.
     <br />
<a href="">
      Get the latest Java Plug-in here.
   <!--end if - close inner object -->
  <!-- end if -->
Used in the element(s):
Elements Description
object This element is used to include objects such as images, audio, videos, Java applets, and Flash animations.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.