Dreamweaver page Insert Music

Source: Internet
Author: User
Tags code tag dreamweaver

1, start Dreamweaver

1 Click "Start-All Programs-macromedia-macromedia Dreamweaver 8",

2 in the middle of the "Create a new project" midpoint of the first HTML, open a blank document, the title changed to "background music";

 

3 point "file-save" command, to Chryy for file name save files, save location in the established site;

4 in the right side of the sidebar site, find the last new folder music, find a favorite song, drag it to the folder inside;

 

In this lesson, a M1 file in the Images folder can be used as an exercise, which is WMA format;

2. Insert Music

1 in the label below the "document" toolbar in the "Split" tab, the window is divided into two parts, the top is the code, below is the document;

 

2 in the above Code window, find the <body> tag, click the mouse behind it, and then click the ENTER key to insert a blank line,

 

3 Switch to the English Input method status, enter the following code:

<embed src= "music/m1.wma" width= "height=" "40"
controls= "ControlPanel" loop= "false" autostart= "false"
Type= "Audio/x-pn-realaudio-plugin" initfn= "Load-types" ></embed>

 

Enter the time will be prompted, the words inside the code tag, double quotes inside the parameter value, loop is the meaning of the loop, Autostart is the automatic playback, here are false, that is, do not mean;

Save the file, click the Preview button, point to the left of the play button, listen to melodious music;

Stop music can point to stop the player on the button, to play other music, as long as you modify the SRC tag behind the music address can be;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.