Idocs Guide to HTML

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.

Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.