案例:jquery案例     状态:可编辑再运行    进入横版
AخA
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<script src="/js/jquery-1.11.1.min.js"></script>
5
<script>
6
$(document).ready(function(){
7
  $("button").click(function(){
8
    $("h1,h2,p").removeClass("blue");
9
  });
10
});
11
</script>
12
<style type="text/css">
13
.important
14
{
15
font-weight:bold;
16
font-size:xx-large;
17
}
18
.blue
19
{
20
color:blue;
21
}
22
</style>
23
</head>
24
<body>

 运行结果 
 北美留学生论坛