【摘要】 js_onmouse--考必过小编为大家整理了关于js_onmouse--的信息,希望可以帮助到大家!
js_onmouse--
标签:meta head script idt har mouse src sed height
<!DOCTYPE html>
<html lang="en">
<head>
<title>Title</title>
<meta charset="UTF-8">
<!--<!– <script src="js_file01.js"></script>–> 尽量放后body前边-->
<style>
p{
width: 200px;
height: 100px;
background-color: #178cfa;
}
</style>
</head>
<body>
<p onmousedown="down1()" onmousemove="move1()" onmouseout="out1()" onmouseover="over1()">hello</p>
<script>
function down1() {
console.log("down")
}
function move1() {
console.log("move1")
}
function out1() {
console.log("out1")
}
function over1() {
console.log("over1")
}
</script>
</body>
</html>
js_onmouse--
标签:meta head script idt har mouse src sed height
以上就是js_onmouse--的内容,更多资讯请及时关注考必过网站,最新消息小编会第一时间发布,大家考试加油!