help on HTML 4.01

Status
Not open for further replies.

Hamuth

Baseband Member
Messages
42
Location
The Vale, Mauritius
hi

I wanted to Use the Object tag to put an audio clip on my webpage.

Ive searched the net but iam not being able to use the code.

<OBJECT DATA="../graphics/watering.mp3" TYPE="audio/mp3" TITLE="watering">

<PARAM NAME=autostart VALUE=true>

<PARAM NAME=hidden VALUE=true>

<A HREF="../graphics/watering.mp3">click 2 play</A>
</OBJECT>

here is the code,(Well ive edited it a little) so how will i make the clip to play, ive used EMBED but on http://www.validator.w3c.org i got kicked, tag is not html4.01 compliant.

Well i wanted it to have the media player on my webpage not via a helper application, how to achive this please.

Using Embed tag all was ok, but my lecturer asked me to change it.

Thanks
 
<embed src="music.mp3"/>

That will put a music player on your site. It's nothing fancy, but it will play music.

Not sure if that is what you were looking for or not.
 
Status
Not open for further replies.
Back
Top Bottom