31-HTML Music Codes


This tutorial is all about HTML Music Codes.

In HTML, the embed tag is used to insert music onto a web page. There are so many ways to link to music, but now embed is considered as a standard for inserting media.


Here’s an example of the embed tag with the use of  src attribute which defines the media file’s location.

<embed src="url" />


Here’s an example of customizing the appearance of a media player:

<embed src="url" width="360" height="165" />


Example on how to autostart and repeat a music in media player:

<embed src="url" autostart="true" loop="true" volume="60" />
Facebook Comments
(Visited 27 times, 1 visits today)


Please enter your comment!
Please enter your name here