Blogger Information
Blog 16
fans 1
comment 0
visits 10053
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
0402作业
烟火的博客
Original
649 people have browsed it

实例

<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<h2>这是4.2的作业</h2>
	<a href="">点击跳转到百度</a>
</body>
</html>
<!-- 第一种在线引入方式 仅限于机器有网络的情况下使用-->
<!-- <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script> -->

<!-- 第二种引入方式 本地引入 -->
<script type="text/javascript" src="./jquery-3.3.1.js"></script>
<script type="text/javascript">
	document.getElementsByTagName('h2')[0].style.backgroundColor = 'skyblue'
	$('a').css('font-size','1.5em')
</script>

运行实例 »

点击 "运行实例" 按钮查看在线实例


Correction status:Uncorrected

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post