Top 10 Html Qwestion

Google+ Pinterest LinkedIn Tumblr +

#1 How do I add midi music to my web page

This can be done quite with the below tag.

This tag will play the music.mid once. If you wanted this song to continue without stopping, you would use loop=”infinite” instead of the loop=”1″, which will only play it once. If you needs this to work with Netscape and Internet Explorer, you can use the embed tag to implement music to your page using code similar to the below example.

<embed src=”” width=”145″ height=”60″ allowscriptaccess=”never” allownetworking=”internal”

Which would give you the below example.

#2 How do I make a picture as a background on my web pages?

Point the body background to the name of your image you wish to use as the background as shown below. This body line should be the first line after your tag.

You can also have the background image fixed, so it does not move when using the scroll bar in the browser. To do this add the BGPROPERTIES tag as shown below.

#3 How do I make it so that someone can mail me by just clicking on text?

Use the mailto command in your A HREF link tag as shown below.

Click here to mail Computer Hope

The above example would create a link similar to the one shown below.

Click here to mail Computer Hope

#4 How do I add scrolling text to my page?

Keep in mind not all browsers support scrolling text. however to do this add a tag similar to the below example.

THIS WOULD SCROLL

The above example would create the below scrolling text. If your browser supports scrolling text the below example should be scrolling.

THIS WOULD SCROLL

More examples can be found on our main HTML page that lists most of the HTML commands.

#5 How do I do multiple colors of text?

To do the multicolor text adjust the color of your font tag as shown below.

blue

The above example would make the text blue; you can do all the major Colors. Click here for a list of all valid colors.

#6 How do I make a picture a link?

Use the A HREF link tag around the IMG image tag as shown below.

Share.

About Author

Leave A Reply