Music Code Generator

This music code generator creates HTML music code with the attributes that you choose from the form.

Customize

(select this if you only want background music)
(in pixels)
(in pixels)
Generated Music Code

HTML audio Tag

Music is added to a web page by using the audio element.

This element accepts a src attribute, as well as many other attributes that let you customize the way music is presented and played on your website or blog.