Date post: | 13-Jan-2015 |
Category: |
Technology |
Upload: | nikkeisaurus |
View: | 165 times |
Download: | 0 times |
INSERTING BACKGROUND ENHANCEMENTS
Background Image and Background Sound
Laboratory Activity 2
• Create a new FOLDER inside the LanSchool Files directory
Q2Act2Surname SECTION• Copy the audio file (Q2Act2MUSIC.mp3) sent
by the teacher inside the folder.• Get an image from the Internet that depicts
the message of the song ‘Jesus Take the Wheel’, rename the image as Q2Act2IMAGE and save inside the Q2Act2 folder.
Laboratory Activity 2
• Open a blank notepad, type all basic HTML markup tags.Filename: Q2Act2Surname SECTION.htmTitle: ‘Laboratory Activity 2 – Inserting
Background Enhancements’
Adding Background Image• Add the attribute background inside
the <body> tag.<body background=“”>
• Identify the URL of the image file to be inserted.
• Right click the image and select Properties.
• Copy the file location and paste in the background URL.
• Add a backslash after the location (\)• Copy the filename and add the
filename extension.
Adding Background Image
• Note:• If the file and the Web page are in
the same folder, the location may be removed.
Codes to Remember• <body background= ˝˝̋̋�� >• The background attribute specifies the URL of
the image file that will serve as the background image of the Web page.
Adding Background Sound• In the <head> tag, add the
<bgsound> container.<head>
<bgsound></head>
• Add the attribute src inside the <bgsound> tag.
<bgsound src="">
• Copy the URL of the audio file in the src.
• Define the number of loops.