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 Yinyue for file name save files, save location in the established site;
4 in the right side of the sidebar site, create a new folder, the name for music to store, find a favorite song, drag it into this folder;
A 1001.mid file can be used as an exercise in the Images folder of this lesson.
2. Insert background 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 state, input <bgsound src= "Music/1001.mid" loop= "-1"/>
Enter the time will be prompted, the words inside the code tag, double quotes inside the parameter value,-1 for loop playback;
On the label of the filename, right-click the Save command, save the file, click the Preview button, and listen to the playback of the background music,
Stop music You can press the ESC key or the Stop button on the Point browser toolbar, click Refresh to Replay;