HTML and CSS Reference
In-Depth Information
causes the plug-in to use red as its foreground color and green as its
background color. For a complete description of hexadecimal color val-
ues, see Appendix G .
12.2.4.5. The pluginspage attribute
The pluginspage attribute, once supported only by Netscape, but no
longer, specifies the URL of a web page that provides instruction on
where to obtain and how to install the plug-in associated with the em-
bedded object. Now all the popular browsers direct you to their support-
ing plug-in home pages for downloads.
12.2.4.6. The src attribute
Like its document-referencing counterparts for myriad other tags, the
src attribute supplies the URL of the data object that you embed in the
HTML document. The server providing the object must be configured so
that it notifies the browser of the correct MIME type of the object. If not,
the browser uses the suffix of the last element of the src valuethe ob-
ject's filename in the URL pathto determine the type of the object. The
browser uses this MIME type to determine which plug-in it executes to
process the object.
If you don't include an src attribute with the <embed> tag, you must in-
clude a type attribute to explicitly reference the MIME type and, as a
result, the plug-in application.
12.2.4.7. The type attribute
Use the type attribute in addition to or in lieu of the src attribute. Its
value explicitly indicates the MIME type of the embedded object, which
in turn determines which plug-in the browser invokes to process the ob-
ject. This attribute is not required if you include the src attribute and the
 
Search WWH ::




Custom Search