<!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/htmlcharset=utf-8" />
<title>无标题文档</title>
<link href="style/index.css" rel="stylesheet" type="text/css" />
</head>
<body>
</body>
</html>
css文件里写入
@charset "utf-8"
body {
background:red
}
2.
<!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/htmlcharset=utf-8" />
<title>无标题文档</title>
<link href="style/index.css" rel="stylesheet" type="text/css" />
<style type="text/css">
p{
height:100px
width:100px
background:#00F
}
</style>
</head>
<body>
<div style="margin-bottom:10pxheight:100pxwidth:100pxbackground:green"></div>
<p></p>
</body>
</html>
css文件里写入
@charset "utf-8"
body {
background:red
}
3.
第三个问题是要你自己动手了
你直接就把上面的属性高宽值改变然后刷新下就成了
4.
在css文件中写入下面的代码
a{
text-decoration:none
}