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

<EMBED ...>

Usage Recommendation
use it, but don't rely on it

  • SRC: URL of resource to be embedded
  • WIDTH: width of area in which to show resource
  • HEIGHT: height of area in which to show resource
  • ALIGN: how text should flow around the picture
  • NAME: name of the embedded object
  • PLUGINSPAGE: where to get the plugin software
  • PLUGINURL: where to get the JAR archive for automatic installation
  • HIDDEN: if the object is visible or not
  • HREF: make this object a link
  • TARGET: frame to link to
 
  • AUTOSTART: if the sound/movie should start automatically
  • LOOP: how many times to play the sound/movie
  • PLAYCOUNT: how many times to play the sound/movie
  • VOLUME: how loud to play the sound
  • CONTROLS: which sound control to display
  • CONTROLLER: if controls should be displayed
  • MASTERSOUND: indicates the object in a sound group with the sound to use
  • STARTTIME: how far into the sound to start and stop
  • ENDTIME: when to finish playing

<EMBED ...> puts a browser plugin in the page. A plugin is a special program located on the client computer (i.e. not on your web server) that handles its own special type of data file. The most common plugins are for sounds and movies. The <EMBED ...> tag gives the location of a data file that the plugin should handle.

In its simplest use, <EMBED ...> uses the SRC attribute to indicate the location of the plugin data file, and usually also gives a WIDTH and HEIGHT of the plugin area. For example, the following code embeds a MIDI file of the 1812 Overture in the page:

this code produces this
<EMBED 
   SRC="../graphics/sounds/1812over.mid"
   HEIGHT=60 WIDTH=144>

<EMBED ...> is not a part of the HTML 4 or xHTML 1 specifications, but it is still widely supported by modern browsers. Unlike other tags, the attributes used by <EMBED ...> depend on the type of plugin being used (this odd free-attribute concept is why <EMBED ...> has been rejected by the HTML standards makers).

The only required attribute for <EMBED ...> is SRC, so let's begin there.


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: