Summary


Well, today's lesson was certainly an eye- and earful! You learned that there are only two ways to include audio and video files in your web pages: linking to them and embedding them.

External multimedia files are files that are linked to directly rather than being embedded inside web pages. When you link to these files, your browser will launch the appropriate plug-in or external application for the file or, in some cases, ask you to save it. You also learned how external multimedia works, how to use sound and video files as external multimedia, and some hints for designing by using external multimedia files.

Much of this lesson focuses on examples of embedding multimedia files directly into the web browser. You can use the <embed> element, or a combination of <embed> and <object>.

Table 11.10 shows a summary of the tags you learned about in this lesson.

Table 11.10. Tags for Inline Multimedia

Tag

Attribute

Use

<a>

href

Links to a sound or video file exactly as you link to any other type of file.

<embed>

 

Embeds objects into web pages.

<object>...<object>

 

Embeds objects into web pages.

<param>...</param>

 

Specifies parameters to be passed to the embedded object. Used in the object element.

<img>

dynsrc

Includes a sound or video file instead of an image. If the file cannot be found or played, the normal image (in src) is shown. Used by Internet Explorer only.

<bgsound>

 

Plays a background sound. Used by Internet Explorer only.





Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day
Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day (5th Edition)
ISBN: 0672328860
EAN: 2147483647
Year: 2007
Pages: 305

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net