fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> <script> function displayResult(){ document.getElementById("p1").style.cursor="pointer"; } </script> </head> <body> <p id="p1">鼠标经过这个文本。</p> <br> <button type="button" onclick="displayResult()">修改光标类型</button> </body> </html>
运行结果