HTML-CSS 判断题 求大神

html-css015

HTML-CSS 判断题 求大神,第1张

对对错错错

href

password

action

button

padding

<br />

border

9题不知道什么意思

text-decoration:underline

alt

<

.css

color

dashed

font-family

center

none

fixed

url

text-align

repeat-y

float

auto

最后一题自己做。

这道题目选择B,因为:

css的外部样式表就是以xxx.css这样形式存在的,后缀就是.css。

<style></style>这是页面内的样式表写法,是嵌套的页面内的,外部css文件是不需要的。

css这东西你也明白,外国人搞的,中文当然是不支持啦。

使用外部样式表确实能使页面更简洁的。

希望能帮到你

1.

<!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

}