Feaured Profiles


Your profile here? Be featured now!

            


Span Tags

Contributed by Angel on June 2nd, 2008 Categories: Html/Style Sheet Codes 4,366 Views
1 Star2 Stars (+4 rating, 2 votes)
Loading ... Loading ...

XHTML SPAN tag is one of the most popular tags in the HTML language, allowing you to add some very special html code and purposeful elements to your webpages including: highlighting text, adding a background image and mouseover effects.

Highlight text code
You can highlight your text any color you like
CODE: <span style=”background-color: #FFFF00″>TEXT HERE</span>

Adding background Image to text code
You can add a background image to your text.
CODE: <span style=”background-image: url(BACKGROUND_IMG_URL)”>TEXT HERE</span>

Alt tag on text code
HOVER YOUR MOUSE HERE.
CODE: <span title=”TEXT HERE”><strong>TEXT HERE</strong></span>





Credits to Friendstertalk.com for the CSS and JS codes.

Leave a Reply