HTML 网页设计 考试的填空题 谁会啊 谢谢了

. 请阅读下面的代码,根据注释中的要求填写代码。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>边框属性</title>
<style type="text/css">
.box{
width:300px;
height:300px;
_____________________        /*设置顶部边框线为1px,实线,黑色;*/
_____________________       /*设置右侧边框线为2px,虚线,红色;*/
_____________________        /*设置底部边框线为4px,实线,绿色;*/
_____________________        /*设置左侧边框线为8px,虚线,蓝色;*/
}
</style>
</head>
<body>
<div>我是带边框的盒子</div>
</body>
</html>

(7.5分)

border-top:1px solid #000000 /*设置顶部边框线为1px,实线,黑色;*/
border-right:2px dashed #ff0000 /*设置右侧边框线为2px,虚线,红色;*/
border-bottom:4px solid#00ff00 /*设置底部边框线为4px,实线,绿色;*/
border-left:8px dashed #0000ff /*设置左侧边框线为8px,虚线,蓝色;*/
温馨提示:答案为网友推荐,仅供参考
第1个回答  2019-12-28
border-top:1px solid black;
border-right:2px dotted red;
border-bottom:4px solid green;
border-left:8px dotted blue;本回答被提问者采纳