博客列表 >3.15作业

3.15作业

吃不起土的少年的博客
吃不起土的少年的博客原创
2018年03月16日 11:51:07714浏览

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>舌尖上的中国</title>

<style type="text/css">

div{

width:600px;

height:450px;

padding:15px;

border-radius: 15px;

box-shadow: 5px 5px 5px #888;

background-image:url(images/timg.jpg);

background-size: 630px 480px;

background-repeat: no-repeat;


}

.text{


color:red;

text-indent:2em;

line-height:1.5em;

}

</style>

</head>

<body>

<div>

<h1 style="color:red;text-align: center;font-size: 20px"onmouseover="change(this)"

onmouseout="old(this)">舌尖上的中国</h1><br>

<h2>《舌尖上的中国》是由陈晓卿执导,中国中央电视台出品的一部美食类纪录片。 《舌尖上的中国》主题围绕中国人对美食和生活的美好追求,用具体人物故事串联起讲述了中国各地的美食生态。[1]  该片第一季于2012年5月14日在CCTV1《魅力记录》栏目首播;于2012年7月在台湾公视播出;2012年9月在新加坡星和都会台播出;2012年10月起在香港TVB翡翠台播出。第二季于2014年4月18日播出。第三季于2018年2月19日在央视综合频道和纪录频道同步播出。</h2>

</div>

<script type="text/javascript">

function change(element) {

element.style.fontSize = '20px'

element.style.color = 'green'

}

function old(element) {

element.style.fontSize = '20px'

element.style.color = 'red'

}

</script>

</body>

</html>

3.15作业.jpg

声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议