HTML OBJECTS AND iFRAME

OBJECTS AND iFRAME

<object> ... </object>

The object tag describe an embedded file type , including audio , video , pdfs , additional pages, and more.

height=" "

Describe the height og the object in pixel.

width=" "

Describes the width of the object in pixels.

type=" "

Describe which media type the data contains.

usemap=" "

This is the name of a client-side image map within <object>.

<iframe> .. </iframe>

Contains an inline frame that allows you to embed external information into an existing document.

IFRAME ATTRIBUTES


name=" "

The name of the iframe>

src=" "

The URL source of the origional documents to embed inside the </iframe>

srcdocs=" "

This contains the actual HTML content to display inside the <iframe> on the current page.

width=" "

Defines the width of your <iframe>.

<param />

Appending extra parameter help you customize the iframe content.

<embed> ... </embed>

The embed tag acts as a container for another external application or additional plugs-in.

EMBED ATTRIBUTES

height=" "

Defines the height of the embedded content you're including.

width=" "

Similar to previous , but this time defining the width of the embedded content.

src=" "

The source URL of the external file you're embedding.

type=" "

Describe the media type of embedded content to include.

EXAMPLE


<object width="400" height="400"></object>
<iframe src="demo_iframe.htm" width="200" height="200"></iframe>
<embed src="helloworld.swf" width="200" height="200"></embed>




0 comments:

Post a Comment