JavaScript:对事件的反应
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<meta charset="utf-8" />
<script src="jQuery/jquery-2.2.0.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet"href="bootstrap/css/bootstrap.min.css" />
</head>
<body>
<div class="container"style="padding:50px">
<h3>JavaScript:对事件的反应,比如点击按钮的反应。</h3>
<button class="btn btn-danger" onclick="alert('努力学习JavaScript')">点击按钮</button>
</div>
</body>
</html>