<object> and </object>
PURPOSE: A generic tag to embed a applet, image, music, video or a flash movie into the page.
A attribute of this tag is the type="", which defines the MIME type of the object. To view a list of
frequently used MIME types, they are listed HERE
Below is a basic html document. The referenced html tag is in RED. All tags must have a start and a end tag. Most end tags have a / before the tags name, however there are a few that are done differently. The tags that end differently will be noted and highlighted. The order of the start and end tags is also very important to proper display of your page in a web browser.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> The Page Title Goes Here </title>
</head>
<body>
<object>
The object parameters go here. Example for including a applet:
<codebase="http://somewhere.com">
<classid="appletname.class">
<width="100">
<height="200">
</object>
</body>
</html>
To embed a image use this code:
<object data="myimage.gif" type="image/gif">
A Image is Here
</object>
To embed a video use this code:
<object data="something.mpeg" type="application/mpeg">
A Video File is Here
</object>
To embed a html file use this code:
<object data="mypage.html" type="text/html">
A HTML File is Here
</object>
© Copyright 2001,2002 Southern Twilight All rights reserved.