Web Development HTML Guide - Learn HTML
Developer Tutorials
ASP
CGI & Perl
CSS
Flash
HTML
Java
JavaScript
Linux
MySQL
PHP
Photoshop
Python
Wireless
XML



Developer Manuals
Learn HTML
Learn PHP
Learn MySQL
Learn CSS
Learn Pear


Developer Scripts
ASP Scripts
ASP.NET Scripts
CGI & Perl Scripts
Flash Scripts
Java Scripts
JavaScript Scripts
PHP Scripts
Python Scripts
Remotely Hosted Scripts
Tools & Utilities Scripts
XML Scripts

Developer Resources
Developer Tools
Developer News
Developer Forums
Developer Content
Developer Book Reviews
Survey Software

Web Hosting Directory
Budget Web Hosting
ColdFusion Hosting
Dedicated Servers
Domain Hosting
E-Commerce Hosting
Email Hosting
Free Web Hosting
Linux Web Hosting
Managed Hosting
Reseller Hosting
Small Business Hosting
Windows Web Hosting

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 Idocs, Inc. Written by Miko Sullivan











About the NetVisits, Inc Network | Advertise
Developer Tutorials hosted by HostGator.
Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy.
Visit other NetVisits, Inc. sites: