Blogger Information
Blog 18
fans 0
comment 0
visits 11661
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
3.15作业
专业交作业
Original
507 people have browsed it
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>科比简介</title>
	<style type="text/css">
		div{
			width: 480px;
			height:230px;
			background-image:url(images/kobe.jpg);
			background-color:#567854;
			background-size:500px 250px;
			padding:10px;
			box-shaow:10px 10px 10px #666;
		}
		.text{
			  color:#556644;
			  text-indent: 3em;
			  line-height: 1.4em;
		}
	</style>
</head>
<body>
<div>
<h2 style="color:red;" align="center" font-size="30px" onmouseover="change(this)" onmouseout="old(this)">科比·布莱恩特 (美国篮球运动员)</h2>
<p class="text">科比·布莱恩特(Kobe Bryant),1978年8月23日出生于美国宾夕法尼亚州费城,前美国职业篮球运动员,司职得分后卫/小前锋(锋卫摇摆人),绰号“黑曼巴”/“小飞侠”, 整个NBA生涯(1996年-2016年)全部效力于NBA洛杉矶湖人队。</p>
<p class="text">2017年12月19日,湖人在主场对阵勇士,中场时刻,湖人升起了科比·布莱恩特的8号以及24号球衣,最终悬挂在球馆上空。</p>
</div>
<script type="text/javascript">
	function change(element){
		element.style.fontsize="15px"
		element.style.color="yellow"
	}
	function old(element){
		element.style.fontsize="30px"
		element.style.color="red"
	}


</script>
</body>
</html>

问题一:背景图片加不上
问题二:标题大小没变化


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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!