How do I get the HTML code from a logo to place on my blog?

Wednesday, February 10th, 2010

There is a site that would like me to put their logo on to my blog. How do I get the html code for the logo so it links to their page?

Making an image a link:

<p><a href="URL path to external link" title="Mouseover Description"><img style="width: XXpx; height: YYpx; border: 0;" src="Path to image" alt="Text Description"></a></p>

You can change the "p" tags to div tags and style as needed.

Right-click the logo and select View Image from Context Menu to get the URL of the image.

Ron

Technorati Tags: , , , , , , , , , , ,

What is the HTML code for getting a sound to play when you click a picture?

Wednesday, January 20th, 2010

Does anyone know what the html code is for when you click a picture, a sound plays.

NOTE: Please can you tell me EXACTLY how to do it, like in stages and explain how to do it

Play Sound on Mouseover or MouseClick: http://www.entheosweb.com/website_design/play_sound.asp

Didn’t test this as I don’t like the embed tag:

Put this between your head tags:

<script type="text/javascript">
function playSound(id){

if(document.embeds) document.embeds["sound"+id].play();

}
</script>

Put this between your body tags:

<embed src="your_sound_file.wav" hidden="true" autostart="false" name="sound1" loop="false">

<p><a onclick="javascript:playSound(’1′);"><img style="width: XXpx; height: YYpx; border: 0;" src="Path to image" alt="Text Description"></a></p>

Put correct path to sound file and image. Hope it works. Using the "object" tags would be better.

Ron

Technorati Tags: , , , , , , , , , , , , , , , , , , ,

What is the html code for text over images?

Friday, November 6th, 2009

What is the html code for text to appear when someone moves the mouse over a picture?

People never know what they are talking about. The alt="" attribute is NOT the attribute that shows the tooltip popup on a mouseover of an image. Although Internet Explorer does show the tooltip on a mouseover using the alt="" atribute, it is doing it WRONG!

The proper attribute to use in jus about any tag is the title="" attribute. Add this one with the short text description you want along with the alt="" attribute to stay within proper coding standards.

Ron

Technorati Tags: , , , , , , , , , , , , , , , , ,