|
|
|
Chapter 9
Sounds
This chapter will cover the tricky subject of adding sounds to web page. Adding a background sound for MSIE is easy enough but there is no guarantee it will work in Netscape Navigator. And , visa versa. Here are the respective commands. Start with the embed tag as there is more chance it will work in both browsers and comes with more attributes.
<Bgsound src="filename.wav" loop="-1">
<embed autostart="true" src="filename.wav" loop="false" height="90" width="150" hidden="false" volume="100">
The effect
|
|
|
|