Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Web
Expertise: Intermediate
Nov 13, 1998



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Playing a Sound Automatically Using META Tags

If you want to play a sound when someone visits your Web page, an effective, simple, browser-independent approach is to insert a META refresh tag that loads the sound file. META tags need to be in the header ( ) of your HTML file in order to work. If your audience uses many kinds of computers, make sure the sound file is a common file type such as WAV, AU, AIFF, or MIDI.

		<META HTTP-EQUIV="refresh" CONTENT="10; URL=spacemusic.au">
		<TITLE>A Sound Tip</TITLE>

	<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" ALINK="#6600FF" VLINK="#CC0000">
	<H1>Welcome to the sound warehouse</H1>
	We have a full selection of MP3 audio clips, ... etc.

Erik Goetze
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date