home HOME

Media Basic
Media HOME
Media Intro
Sound Formats
Video Formats
Playing Sounds
Playing Videos
Windows Formats

Object Element
Object Intro
Object QuickTime
Object RealVideo

References
Tag Reference
Media Player Ref
MIME Reference

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Forum

Helping W3Schools

pixels

Web Multimedia Element Reference

Previous Next

The <bgsound> Element

Attribute Function
id A unique id for the element.
src The location (URL) of the source file.
balance The balance. (-10000=left, +10000=right).
loop The number of loops. (-1=infinite).
volume The volume. (0=max, -10000=min).


The <embed> Element

Attribute Defines
autostart Automatic start. (true | false).
height The height of the element in pixels or %.
hidden The visibility of the element. (true | false).
src The location (URL) of the source file.
width The width of the element in pixels or %.

See also styling attributes, common HTML attributes and Event attributes at the bottom of this page.


The <applet> Element

Attribute Defines
alt An alternate text.
archive The locations (URLs) of archive files.
code The location (URL) of the applet code.
codebase The base location (default URL) for all files.
height The height of the applet in pixels or %.
name The name of the applet.
object A saved representation of the applet. Do not use.
width The width of the applet in pixels or %.

See also styling attributes, common HTML attributes and Event attributes at the bottom of this page.


The <object> Element

Attribute Defines
archive The locations (URLs) of archive files.
classid The location (URL) of the object.
codebase The base path used to resolve relative URIs specified by the classid, data, and archive attributes.
codetype The content type of the code.
data The location (URL) of object data.
declare Do not instantiate (execute) the object.
height The height of the object in pixels or %.
name The object's name.
standby Text to display while object is loading.
tabindex The position in the tab order
type The content type of the object.
usemap The location (URL) of an image map.
width The width of the player in pixels or %.

See also styling attributes, common HTML attributes and Event attributes at the bottom of this page.


The <param> Element

The param element defines parameters to the object or applet elements.

Attribute Defines
id A unique id for the element.
name Parameter name.
type Parameter content type.
value Parameter value.
valuetype Parameter value type.


Styling Attributes

Note: These attributes are deprecated. Use styles instead.

Attribute Defines
align The alignment of the object.
border The border with in pixels.
hspace The horizontal white-space (margin) in pixels.
vspace The vertical white-space (margin) in pixels.


Common HTML Attributes

Attribute Defines
class The element's class.
dir The directionality of the element.
id A unique id for the element.
lang The language used by the element.
style The element's style.
title The elements title.


Standard Events

Event Handles
onclick mouse clicked
ondblclick mouse double clicked
onmousedown mouse button pressed down
onmouseup mouse button released
onmouseover cursor moved onto the element
onmousemove cursor moved within the element
onmouseout cursor moved away from the element
onkeypressed key pressed and released over the element
onkeydown key pressed down over the element
onkeyup key released over the element


Previous Next

Jump to: Top of Page or HOME or Printer Friendly Printer friendly page

W3Schools provides material for training only. We do not warrant the correctness of its contents. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2007 by Refsnes Data. All Rights Reserved.

Validate Validate W3C-WAI level A conformance icon W3Schools was converted to XHTML in December 1999