Logo
  Sunday, May 20, 2012
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

HTML5 Tutorial FeedBurner

The HTML5 <object> Tag  
When adding an object in the HTML document, it is necessary to put definition to it. The HTML5 <object> tag is the key which enables HTML authors to do this. When embedding video, audio, PDF, Flash and other objects in the document, the HTML5 <object> tag has to be used.

Aside from adding objects, the HTML5 <object> tag is also useful when it comes to embedding another webpage within the HTML document. If plugins are incorporated in the document, using the <param> tag is important because this is what sets the parameters of the plugins.

Using the HTML5 <object> tag is slightly deviated when HTML4.01 and HTML5 are compared. HTML has not recognized most of the attributes used in HTML4.01. HTML5 has a new attribute too which is the form attribute.

Utilization of the HTML5 <object> tag is not a complex process since the Global Attributes and Event Attributes in HTML5 can go well with it. Even the major web browsers do not have problems in interpreting HTML5 <object> tag. That means the HTML5 <object> tag is applicable for Internet Explorer, Safari, Google Chrome, Opera and Firefox.

The attributes that are used for HTML5 <object> tag are these:

Attribute

Value

Description

align

left
right
top
bottom

This is no longer accepted and used in HTML5

archive

URL

This is no longer accepted and used in HTML5

border

pixels

This is no longer accepted and used in HTML5

classid

class_ID

This is no longer accepted and used in HTML5

codebase

URL

This is no longer accepted and used in HTML5

codetype

MIME_type

This is no longer accepted and used in HTML5

data

URL

This is the tool in identifying the URL that points to the resource that will be used for the object

declare

declare

This is no longer accepted and used in HTML5

form

form_id

This is important for determining one or more forms that the object has to work along with

height

pixels

This is used for determining the height for the object inserted in the HTML document

hspace

pixels

This is no longer accepted and used in HTML5

name

name

It has to be placed for providing a name for the object

standby

text

This is no longer accepted and used in HTML5

type

MIME_type

If incorporating the MIME type of data for the data attribute is necessary, this is used

usemap

#mapname

It is the key in providing the name for the client-side image map which is used along with the object

vspace

pixels

This is no longer accepted and used in HTML5

width

pixels

It is the one that provides the width of the object in the document

Print HTML5 <object> Tag Bookmark HTML5 <object> Tag

Related Articles  
The HTML5 <b> Tag
The HTML5 <b> tag is used to specify bold text. It is supported by all major browsers like Safari, Firefox, ...
The HTML5 <table> Tag
The HTML5 <table> tag is mainly used for putting tables within an HTML document. When the HTML5 <table> tag ...
The HTML5 <rp> Tag
There are times when adding Ruby annotations within the document are necessary. The Ruby Annotations are those which ...
The HTML5 <source> Tag
The <source> tag is applicable for media sources that have to work along with the media elements. For authors who ...
The HTML5 <legend> Tag
The primary reason why authors of HTML documents have to use HTML5 <legend> tag is because this is important in ...
The HTML5 <blockquote> Tag
The HTML5 <blockquote> tag is an element which identifies a section that is usually quoted from another source or ...
More