Blogger Information
Blog 15
fans 0
comment 0
visits 8719
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
20180404作业
朱佳楠的博客
Original
569 people have browsed it

实例

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js
"></script>	
</head>
<body>
<!-- attr() removeAttr();  开始-->
	<a id="one" href="">1</a>
	<a id="twoid" href="https://www.baidu.com/">2</a>
	<script>
	 $('#one').attr('href','https://www.baidu.com/');
	 $('#twoid').removeAttr('href');
	</script>
<!--结束-->
<!-- css(); width();height(); -->
	<img src="https://b-ssl.duitang.com/uploads/item/201303/23/20130323161411_5x2GR.jpeg" alt="">
<!-- 结束 -->
	<script>
	$('img').css('width',200);
	$('img').height(400);
	$('img').css({
		'width':'300'
	});
	</script>
</body>
</html>

运行实例 »

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


Correction status:qualified

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