how to play audio in file in html

0 votes
38 views
asked Jan 3, 2013 in HTML by Chanakya (545 points)
for my new project i want to implement the audio?

so i need the better solution?

1 Answer

0 votes
answered Jan 3, 2013 by anonymous

using the <embed> Element

<embed height="50" width="100" src="horse.mp3">

using the <object> Element

<object height="50" width="100" data="horse.mp3"></object>

...