Hover Event JS 1
RUN
<!DOCTYPE html> <html> <head> <title>Click</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <input type="button" onmouseover="callHoverEvent()" value="Click me"/> <script> function callHoverEvent(){ alert('Bạn đã hover chuột qua thẻ input'); } </script> </body> </html>
PHÓNG TO