Codesupplier.com

free html codes for your website

Text Effects Using SPAN

<SPAN> </SPAN> tags are one of the most popular tags used in HTML. They add great things to a webpage for example highlight text, mouseover text, colored text and Alt tag over text.

If you would like to use <SPAN> just copy and paste the following XHTML codes into your web editor.

Mouseover Change

 

HTML Code:

<SPAN onMouseOver="document.pic1.src='pictureone.gif'" onMouseOut="document.pic1.src='picturetwo.gif'"><img src="picturetwo.gif" height="50" width="100" name="pictwo"></SPAN>

Highlight Text

your text here

 

HTML Code:

<span style="background-color: #FFFF00">your text here</span>

Colored Text

You can add colored text

 

HTML Code:

<span style="color: blue; font-size: 15pt">You can add colored text</span>

Alt Tag Over Text

HOVER MOUSE OVER HERE

 

HTML Code:

<span title="What a GREAT Code!"><b>HOVER MOUSE OVER HERE</b></span>

Alt Tag Over Hyperlink

Click Here to go to Codesupplier.com

 

HTML Code:

<span><a href="index.htm" title="this is very very great!" target="_blank">Click Here to go to Codesupplier.com</a></span>

-----