add midi music on web page

Discussion in 'Web Design, HTML And CSS' started by msn90, Aug 7, 2009.

  1. msn90

    msn90 New Member

    Joined:
    Jul 17, 2009
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    Hi friends,
    add midi music to my web page.This can be done quite simply with the below tag.
    Code:
    <bgsound src="music.mid" loop="1">
    This tag will play the music.mid once. If you wanted this song to continue without stopping, you would use loop="infinite" instead of the loop="1", which will only play it once. If you needs this to work with Netscape and Internet Explorer, you can use the embed tag to implement music to your page using code similar tot he below example.
    Code:
    <embed src="canyon.mid" Autostart=TRUE Width=145 Height=60 Loop=true> 
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice