img { width: 150px; height: 100px; border-radius: 8px; } 代表设置网页上所有图片的样式

img { width: 150px; height: 100px; border-radius: 8px; } 代表设置网页上所有图片的样式


参考答案和解析
正确

相关考题:

以下代码片断中,属于绝对定位的是()。A、#box{width:100px;height:50px;position:absolute;}B、#box{width:100px;height:50px;position:static;}C、#box{width:100px;height:50px;position:relative;}D、#box{width:100px;height:50px;}

认真阅读下列说明,根据网页显示的效果图,并解释其中用下划线标出的语句的含义。[说明]某娱乐公司用ASP实现了一个用于点播电影的网页,主页文件名为“index.asp”,网页运行的效果如下图所示。程序中使用的Acess数据表结构如下表所示。[conn.asp文档的内容]<%dim db,conn,connstrdb="film.mdb"set Corm =server. CreateObject("ADODB.Connection")connstr="provider=microsoft.jet, oledB.4.0;data source=" server. MapPath("data/"db"")conn. Ooen connstr 第(1)处%>[index. asp文档内容](2)<html><head><title>电影</title><style. type="text/css"><!--td { font-size: 12px; line-height: 17px }body { font-size: 12px; line-height: 17px }p { margin-top: lpx; margin-bottom: lpx }a:link { text-decoration: none; color: black }a:visited { text-decoration: none; color: black }a:active { text-decoration: none; color: blue } 第(3)处--></style></head><body lefimargin="0" topmargin="0"><!--include file="heaD.asp"--><div align="center"> 第(4)处<table><td height="30" width="367"><%sql="select * from item"set rs_item=server, createobj ect("adodB.recordset")rs_item, open sql,connstr, 1,1response.write "<p><b><IMG nClick=over(this) title=放大 src=images/dot 1.gif><a hre=index.asp>全部电影</a> "do while not rs_item, eofresponse.write "<IMG nClick=over(this) title=放大 src=images/dot1.gif borde=0><a href=index.asp?item="rs_item("name") ">"rs_item("name")"</a> "(5)loop 第(6)处response.write "</b> "rs_item.close %></td></table></div><div align="eenter"><% dim item_typeitem_type= (7)if item_type="" or item_type="全部电影" thensq1="select * from data"elsesql=" (8) "end ifset rs=server, createobject("adodB.reeordset")rs.open sql,connstr, 1,1%><table><tr><rd width="125" background="imagesfog.gif"height="30"><IMG nClick=over(this) title=放大 border="0" src="images/biao_le ft.gif" width="15" height="15">影片名字</td><td width="115" baekground="images/bg.gif"height=-"30" align="center">播放</td><rd width="64" background="images/bg.gif"height="30" align="center"> 电影类型</td><td width="58" baekground="images/bg.gif"height=-"30" align="eenter">播放格式</td><td width="43" baekground="im?ges/bg.gif"height"30"align="center">点击</td><td width "70" baekground="imagesfog.gif"height="30" align="eenter">加入日期</td><rd width="73" baekground="images/bg.gif"height="30"align="eenter">推荐度</td></tr><%do while not rs.eof%><tr><rd width "125" height="30" > <IMG nClick=over(this) title=放大 border="0'' src="images/dian.gif'> <%=rs("name")%></td><td width="115" height="30" align="cente"><a href="">点播</td><rd width="64" height="30" al

请根据网页显示的效果图和网页中的元素说明,将HTML文本中 (n) 处的解答填入答题纸对应的解答栏内。说明在Ⅲ浏览器中输入常春藤大学招生办公室主页的网址并回车后,网页显示的效果如图5-1所示。HTML文本<html><head><title>2004 年研究生入学考试成绩查询</title>(1)<body bgcolor="white"><p align="center"> (2) </p><p align="center">2004 年入学考试成绩查询</p><p align="center"><IMG nClick=over(this) title=放大 border="0" sre="nyc.jpg" width="77" height="83"></p><div align="center" style="width: 679; height: 101"><table border="1" width="63%'' height="17"><tr><rd width="23%" height=-"1"><p align="right"><font face="宋体" size="2">请输入准考证号 : </font></p></td><td width="46%" height="1">(3)<p><input type="text'' name="T 1" size="20"><input type="submit" value="开始查找" name="Bl"></p></form><ltd></tr><tr><rd width="23%" height=-" 17"><p align="right"Xfont size="2 ">考生类别: </font></p></td><rd width="38%'' height=19>(4)</td></tr><tr><td width="23%" height=-" 1"><p align="right"xfont size="2">报考系: </font></p><ltd><td width="46%'' height=-'' 1 "><p align="le~"><select size=" 1" name="D 1"><option selected>计算机科学系</option><option>机械工程系</option><option> 中文系</option></select></p></td></tr></table></div><p align="center"><font size="2">如有疑问,速与招生办公室联系!(5)<a href=-"mailto:vipmail@cqt, edu.cn">zsb@cqt.edu.cn</a></font></p<p align="center"><font size="2">下载2005年招生简章:</font>(6)<font size="2" color="Red">立即下载</font></a></P></html>

下列哪条CSS样式规则是不正确的()。A.img{float:left;margin:20px;}B.img{float:right;width:120px;height:80px;}C.img{float:right;right:30;}D.img{float:left;margin-bottom:2em;}

在代码行“<img src="huangshan.jpg".width="150"height="150"alt="黄山"align="left"left"hspace="10"vspace="10">”中hspace="10"vspace="10"是什么意思?

请根据网页显示的效果图(见图6-3)和网页中的元素说明回答问题。以下是网页部分源代码,请填写______ 处的空格。<html><head>(1)<meta. http-equiv="Content-Type" content="text/html; charset=gb2312"><link hrel="./inc/style.css" rel="stylesheet" type="text/css"><style. type="text/css"><!-- body { margin-left: Opx; margin-top: Opx; margin-right: Opx; margin-bottom: Opx;}.style1 { font-family: Arial, Helvetica, sans-serif; color: FFFFFF; }.style2 {color: FFFFFF}--></style></head><body><br><table width="700" height="420" border="0" align="center" cellpadding="0"cellspacing="1" bgoolor="dddddd"><tr><td valign="top"><table width="700" height="420" border="0" cellpading="0" cellspacing="0" bgcolor="ffff"><tr><td valign="top"><table width="700" border="0" cellpadding="5" cellspacing="0" bgcolor="f1f1f1"><tr><td>欢迎使用员工管理系统</td></tr></table><table width="700" height="80" border="0" cellpadding="0" cellspacing="0"><tr><td><(2)="./images/logotitle. gif" width="700" height="80"></td></tr></table><table width="700" height="38" border="0" cellpadding="0" cellspacing="0" background="./images/bg_link.gif"><tr><td> </td></tr></table><table width="700" border="0" cellspacing="0" cellpadding="0"><tr><td height="280"><IMG height="80" src="./images/logo. gif" width="389"></td><td valigr="bottom"><form. method="post" name="Form. 1"(3)="login. asp"><table width="300" border="0" cellspacing ="0" cellpadding="3"><tr><td>用户名称: </td><td><input name="uid" maxlength="14" size="14" ></td><td>nisp;</td><td> </td></tr><tr><td>用户密码: </td><td><input type="(4)"name="pwd" maxlength="6" size="14"></td><td> </td><td><input type="(5)"border="0" height="20" src="./images/login.gif" width:"54"></td></tr>(6)

应用下列哪些CSS属性后,会导致浏览器触发重排?()A、{width:100px;}B、{display:none;}C、{transform:translate(100px,100px);}D、{color:red;}

关于图片大小的设置,以下说法正确的是()。A、在〈img〉标签中通过设置height和width属性值可设定图片高、宽度B、height=60表示设置图片的高度为60像素C、width=50%表示图片的宽度为显示器全屏宽度的50%D、当只设置了height值而没设置width值时,图像宽度保留

如果在HTML页面中包含如下图片标签,则在下划线处添加()代码能够实现隐藏该图片的功能。 img id=”pic” src=”Sunset.jpg” width=”400” height=”300” _____ A、 style=”display:visible”; B、 style=”display:disvisible”; C、 style=”display:block”; D、 style=”display:none”;

如果在HTML页面中包含如下图片标签,则选项中的()语句能够实现隐藏该图片的功能。 img id=”pic” src=”Sunset.jpg” width=”400” height=”300”A、document.getElementById(“pic”).style.display=”visible”; B、document.getElementById(“pic”).style.display=”disvisible”; C、document.getElementById(“pic”).style.display=”block”; D、document.getElementById(“pic”).style.display=”none”;

设置表格的高度为600的HTML代码是()A、table height=500 width=600B、table vspace=600 hspace=500 C、table height=600 width=500 D、table vspacet=500 hspace=600

设置表格的宽度为600的HTML代码是()A、table height=500 width=600 B、table vspace=600 hspace=500 C、table height=600 width=500 D、table vspacet=500 hspace=600

在HTML中,使用<IMG>标签插入图像,下列选项关于<IMG>的src属性说法正确的是()。A、用来设置图片文件的格式B、用来设置图片文件所在的位置C、用来设置鼠标指向图片时显示的文字D、用来设置图片周围显示的文字

以下关于img标签说法错误的是()。A、img标签可用于在网页中插入图片B、img标签是块级标签C、img标签的title属性用于指定替代文本D、img标签的src属性用于指定图片路径

图像在网页显示的代码正确的是()A、<img src="Images/exit.gif"width="69"height="24"B、<imges src="exit.gif"width="69"height="24"C、<img url="Images/exit.gif"width="69"height="24"D、<imge src="Images/exit.gif"width="69"height="24"

以下关于width属性和height属性语法格式正确的是()。A、width:15;B、width:60px;C、height:100%;D、height:100;

IE6下,制作一个大小为10*10px的div,样式是width:10px;height:10px;

下面关于主题样式的说法正确的有()A、主题样式是一组设计好的固定版面,它含有配套的固定元素B、当选择了一个主题之后,站点内所有的网页和以后添加的网页都使用该主题C、通过主题样式可以将网页的背景设置为图片D、预览网页可以在预览方式下预览,也可以使用浏览器预览

用鼠标石键单击网页中的一张图片,在快捷菜单中选择“图片”|“图片”|“另存为”命令,将会保存()。A、图片上所定义的超级链接B、该图片本身C、整个网页D、网页上的所有图片

以下定位,脱离文档流的是()。A、#box{width:100px ;height:50px;}B、#box{width:100px ;height:50px; postion:absolute}C、#box{width:100px ;height:50px; postion:relative}D、#box{width:100px ;height:50px; position:static}

给图片加边框正确的写法是()。A、img src="" border="blod"/B、img src="" width="1"/C、img src="" height="1"/D、img src="" border="1"/

以下代码片断中,属于静态定位的是()。A、#bb{width:100px;position:relative}B、#bb{width:100px;position:static}C、#bb{width:100px;}D、#bb{width:100px;position:absolute}

在HTML中,点击图片”previous.gif”上的超级链接后页面将加载历史列表中的上一个URL页面。代码如下所示,应在下划线处填入() img src=”previous.gif” width=”67” height=”21”A、“javascript:history.go(-1)”; B、“history.go(1)” C、“history.go(-1)”            D、“javascript:history.go(1)”

多选题关于图片大小的设置,以下说法正确的是()。A在〈img〉标签中通过设置height和width属性值可设定图片高、宽度Bheight=60表示设置图片的高度为60像素Cwidth=50%表示图片的宽度为显示器全屏宽度的50%D当只设置了height值而没设置width值时,图像宽度保留

单选题如果一次还本付息债券按单利计息,按复利贴现,其内在价值决定公式为(  )。A IMG style="FILTER: ; WIDTH: 161px; HEIGHT: 39px" height=39 alt="" hspace=0 src="https://static.tiw.cn//files/201202/20120222172336171.jpg" width=161 border=0B IMG style="FILTER: ; WIDTH: 148px; HEIGHT: 39px" height=39 alt="" hspace=0 src="https://static.tiw.cn//files/201202/20120222172344780.jpg" width=148 border=0C IMG style="FILTER: ; WIDTH: 136px; HEIGHT: 38px" height=38 alt="" hspace=0 src="https://static.tiw.cn//files/201202/20120222172350368.jpg" width=136 border=0D IMG style="FILTER: ; WIDTH: 136px; HEIGHT: 41px" height=41 alt="" hspace=0 src="https://static.tiw.cn//files/201202/20120222172358505.jpg" width=136 border=0

多选题下面关于主题样式的说法正确的有()A主题样式是一组设计好的固定版面,它含有配套的固定元素B当选择了一个主题之后,站点内所有的网页和以后添加的网页都使用该主题C通过主题样式可以将网页的背景设置为图片D预览网页可以在预览方式下预览,也可以使用浏览器预览

单选题以下代码片断中,属于绝对定位的是()。A#box{width:100px;height:50px;}B#box{width:100px;height:50px; position:absolute;}C#box{width:100px;height:50px; position:static;}D#box{width:100px;height:50px; position:relative;}

单选题以下代码片断中,属于静态定位的是()。A#bb{width:100px;position:relative}B#bb{width:100px;position:static}C#bb{width:100px;}D#bb{width:100px;position:absolute}