<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script type="text/javascript" src="jquery.js">
</script>
</head>
<body>
<div id="app"></div>
<script type="text/javascript">
$(function() {
console.log($ === jQuery);
$("#app").width(200).height(200).css("border", "2px solid #0f0").css("padding", "10px");
//创建元素
$("<p>").html("hello world").css("color", "#f00").appendTo("#app");
})
</script>
</body>
</html>