This example uses inline event handlers to set an element's background color.
Mouse over this element to change its background color.
Click to change to another background color.
Double-click to change to another background color.
Move the mouse out to restore.
View Source Exit
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.