Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Anchors and Links > <A ...>

Attributes for <A ...>
onMouseOver ="script command(s)"
onMouseOut ="script command(s)"

Looking for information on Rollover Images? - You might want to check out our rollover images tutorial.

onMouseOver and onMouseOut are event handlers that are triggered when the mouse moves over the link and then when it moves out from the link again. The most common use for these event handlers are rollover images, but you put any kind of program in them you want.

So, for example, this code displays an alert box when the mouse moves over the link:

this code produces this
<A 
 HREF="omoexample.html"
onMouseOver="alert('my alert box')">my page</A>
my page

This code displays an alert box when the mouse moves out from the link:

this code produces this
<A 
 HREF="omoexample.html"
onMouseOut="alert('my alert box')">my page</A>
my page

<A ACCESSKEY="..."> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com