Embedding objects in HTML is sometimes necessary! This is because of few
rules or regulations framed in some of the sites that never allow to promote
commercial links or to attract traffic directly. Therefore, embedding objects,
considered as a part of internet marketing strategy, can be done by following
certain metatagging method and by following a list of specific html commands. In
the process of <embed…>, the browser plugin in the page and this plugin is
considered as a special program stored at the client computer that handles a
special type of data file. Generally sounds and movies are the common plugins
and the tag <embed…> gives a special location of the data file.
With embedding link, the primary advantage is that the link will be much shorter and it will get download faster on the recipient's computer.
Simple to use, the <embed…> apply SRC attribute for locating the plugin data file and also includes the 'width' and 'height' of the plugin object. Let's consider the following example:
Here, the embedding in done with the SRC command where the path of the audio file has been mentioned along with the height and width of the place where the resource will appear. <Embed…> is not considered as a part of the xHTML 1 specifications or HTML4, but they are well supported by all modern browsers. Sometimes the type of the <embed…> depends on the plugin you are using. Therefore one of the most essential attribute for <embed…> is SRC which indicates the media object to be embedded. For example:
Check out the following list from which you can use the codes while embedding.
Here are few examples of codes for embedding objects in HTML:
Couldn't find what you were looking for on this page? Search our site using the simple search form below.