Learn HTML Code Tutorial Reference Guide

Attribute for <EMBED ...>
HIDDEN = FALSE | TRUE

HIDDEN indicates if the embedded object is visible or not. FALSE is the default.

this code produces this
<EMBED 
    SRC="../graphics/sounds/helloo.wav"
    HEIGHT=60 WIDTH=144
    HIDDEN=TRUE
    >
(embedded object is not visible)
<EMBED 
    SRC="../graphics/sounds/helloo.wav"
    HEIGHT=60 WIDTH=144
    HIDDEN=FALSE
    >
<EMBED 
    SRC="../graphics/sounds/helloo.wav"
    HEIGHT=60 WIDTH=144
    >
<!-- this example doesn't 
use HIDDEN at all -->

(same as TRUE)

The first example results in an unusable object, because the user cannot start it in any way. However, if we add the AUTOSTART attribute, we get an invisible "background sound".

this code produces this
<EMBED 
    SRC="../graphics/sounds/helloo.wav"
    HEIGHT=60 WIDTH=144
    HIDDEN=TRUE
    >
this page

See the page on background sounds for more details on the best way to put background sounds on your web page.




 

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   Privacy Policy   |   About
Copyright ©1997-2002 Idocs and ©2002-2014 HTML Code Tutorial