Attributes for <EMBED ...>
HREF = "URL"
TARGET = "text string"

Usage Recommendation
don't use it thumbs down

HREF and TARGET allow you to make the media object into a hyperlink. They work just like their counterparts <A HREF="..."> and <A TARGET="...">. Note that you have to click somewhere besides the controls area to follow the link. The use of these attributes in <EMBED ...> is an MSIE extension.

this code produces this
<EMBED 
SRC="../graphics/clickme.avi"
HREF="../"
AUTOSTART=TRUE LOOP=TRUE
WIDTH=115 HEIGHT=60
CONTROLLER=FALSE
><BR>
<A HREF="../">Home Page</A>

Home Page

HREF can also be used with a sound, but because the user has to click somewhere besides the controls to follow the link, it is hopelessly difficult to communicate that the sound is a link:

this code produces this silly link
Click in the sound area but not in 
the controls to go to the home page
<EMBED 
SRC="../graphics/sounds/helloo.wav"
HREF="../"
HEIGHT=100 WIDTH=144
>
Click in the sound area but not in the controls to go to the home page

HREF used in <EMBED ...> is probably just getting too fancy. It only works with MSIE, and because it is so unusual, most users won't realize the movie is a link. This is one trick it is probably best to avoid.





About the Author
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.