為什么沒有邊框只有文字呢,不知道哪兒錯了
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>第一個簡單的jQuery程序</title>
<style type="text/css">
div{
padding:8px 0px;
font-size:12px;
text-align:center;
border:soild 1px #888;
}
</style>
<script type="text/javascript" src="D:\ChromeCoreDownloads\jquery-3.3.1.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("div").html
? ? ("您好!通過慕課網學習jQuery才是最佳的途徑。");
});
</script>
</head>
<body>
<div></div>
</body>
</html>
2019-03-16
border:solid 1px #888;
是solid不是soild
2019-08-06
現在學的jq版本是1.9;<script src="http://www.xianlaiwan.cn/static/lib/jquery/1.9.1/jquery.js"></script>