Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

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.

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire