Advertise here.

Wednesday, 15 August 2012

HTML lesson #6 - Other useful stuff

In this lesson we'll learn about a few useful extra things to do in HTML. Background sound If you want a sound to play when your page is viewed then you need to use the <bgsound> tag. You also have to say how many times the sound must play with the loop attribute: <bgsound src="mysound.mp3" loop="3"> You can use a few different types of sound files like MP3 and WAV. If you want the sound to loop forever just set loop="infinite". Horizontal rules You can put a horizontal line across your page by using the <hr> tag. You can...

HTML lesson #5 - Frames

In this lesson we will learn about frames. Frames are a useful way to make websites download quicker because they divide a page up into sections and frames also make a website easier to maintain. Your first frames page When we want to use frames we don't use the <body> tags for the beginning and end of the content of our page, we use the <frameset> tags. We use the <frame> tag to create a frame. You need to start off by creating a new file called index.html. Now type and save the following in the file you've just created: <head><title>My...