7
INSERTING BACKGROUND ENHANCEMENTS Background Image and Background Sound

Background Enhancements

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Background Enhancements

INSERTING BACKGROUND ENHANCEMENTS

Background Image and Background Sound

Page 2: Background Enhancements

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.

Page 3: Background Enhancements

Laboratory Activity 2

• Open a blank notepad, type all basic HTML markup tags.Filename: Q2Act2Surname SECTION.htmTitle: ‘Laboratory Activity 2 – Inserting

Background Enhancements’

Page 4: 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.

Page 5: Background Enhancements

Adding Background Image

• Note:• If the file and the Web page are in

the same folder, the location may be removed.

Page 6: Background Enhancements

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.

Page 7: Background Enhancements

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.