Je丶Kcier
2015-08-10 16:58
表示不太懂
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>行内元素标签</title>
<style type="text/css">
a,span,em{
background:pink;/*设置a、span、em标签背景颜色都为粉色*/
height:500px;
width:300px;
}
</style>
</head>
<body>
<a class="beidu" href="http://www.baidu.com">百度</a>
<a class="muke" href="http://www.imooc.com">慕课网</a>
<span>33333</span>
<span>44444</span><em>555555</em>
</body>
</html>同学你把这些代码复制过去,就知道了,你明白他的意思了
你看到了么?我给你上传的图片截图
嗯嗯,设置后没有效果或者根本就没有设置的属性,大概就是这个意思吧
初识HTML(5)+CSS(3)
1230621 学习 · 19084 问题
相似问题