<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(document).ready(function(){
$(document).ready(function () {
$(document.body).css('background','lightgreen')
})
})
</script>
</head>
<body>
<p>JQuery第一天</p>
<img src="images/1.png"/>
<script type="text/javascript">
$('p').css('color','red')
$('img').click(function(){
$('p').css('color','blueviolet')
})
$('img').mouseenter(function(){
$(this).hide(1000)
}).mouseleave(function(){
$(this).show(1000)
})
</script>
</body>
</html>