1. Home
  2. Computing & Technology
  3. Web Design / HTML

Add Sound to Web Pages

By , About.com Guide

Listening to Online Music

Listening to Online Music

Getty Images / Stockbyte
How to Add Sound with HTML and WYSIWYG Editors:

Whether you use an HTML editor, a text editor, or a WYSIWYG editor, you can add sound to your Web pages with just a few steps.

Pros and Cons of Adding Sound:

Many people find sound on Web pages to be very annoying. But it is possible to add sound to your Web pages without annoying your customers. Pros and Cons of Adding Sound to Web Pages

HTML Tags for Adding Sound:

There are three tags that are typically used to add sound files. Two are not valid HTML and the third doesn't work reliably across browsers:

  • <bgsound> - not a valid HTML or XHTML tag, and it only works in Internet Explorer
  • <embed> - not a valid HTML or XHTML tag, but it works in most browsers
  • <object> - a valid HTML and XHTML tag, but it only works in Safari
Poll: Do you use sound?:

You might be surprised at how many people do use sound on their Web pages.

Explore Web Design / HTML
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. Web Design
  5. Multimedia
  6. Sound
  7. Add Sound to Web Pages - Background Music - Embed Sound>

©2009 About.com, a part of The New York Times Company.

All rights reserved.