div与css的布局优势有()。
A.大大缩减页面代码,提高页面浏览速度,缩减带宽成本
B.结构清晰,容易被搜索引擎搜索到
C.强大的字体控制和排版能力
D.缩短改版时间
E.在几乎所有浏览器上都可使用
A.大大缩减页面代码,提高页面浏览速度,缩减带宽成本
B.结构清晰,容易被搜索引擎搜索到
C.强大的字体控制和排版能力
D.缩短改版时间
E.在几乎所有浏览器上都可使用
A.DIV默认情况下是块模式,即标记前后有类似换行符一样的功能
B.SPAN默认情况下是行模式,即标记前后内容在同行显示
C.DIV和SPAN标记行块模式,可以通过CSS的Display属性予以调整
D.前后两个DIV标记块的内容,不能出现在同一行
A.margin:20px 30px 40px 50px
B.padding:20px 30px 40px 50px
C.margin:20px 50px 30px 40px
D.padding:20px 50px 30px 40px
A.div标签和span标签均为容器类标签,可以在其中存放其他任意标签
B.默认情况下,div标签会占满一行,span标签不会
C.span标签没有特定含义,一般会作为文本的容器
D.div标签多用于布局网页页面
请根据网页显示的效果图(如图12-4所示),将HTML文本中(n)处解答填于纸相应的解答栏内。
<html>
<head>
<!-- TcmplateBeginEditable name="doctitle" -->
<title>论坛登录注意事项</title>
<!-- TemplateEndEditable -->
<meta. http-equiv="Content-Type" content="text/html; charset=-gb2312">
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<1-- TemplateParam name="Header" type="boolean" value="tme" -->
<!-- TemplateParam name="this" type="boolean" value="tme" -->
<!-- TemplateParmn name="UserName" (1) value="textfieldl"-->
<!-- TemplateParam name="Password" type="text" value="textfieldl" -->
<!-- TemplateParam name="ButtonName" type="text" value="Submit" -->
<!-- TemplateParam name="ButtonLabel" type="text" value="Sign In" -->
<!-- TemplateParam name="FormAction" type="text" value="" -->
<!-- TemplateParam name="FormMethod" type="text" value="post" -->
<!-- TemplateParam name="FormName" type="text" value="forml" -->
<style. type="text/css">
<!--
.stylel {
font-size: 36px;
font-weight: bold;
}
-->
</style>
</head>
<body class="sub">
<div align="center"><span class="style1 ">论坛登录注意事项</span><br>
</div>
<formame="@@(FormName)@@method="@@(ForrnMethod) @@"action="@@(FormAetion) @@,,>
<table width="85%" border="0" cellspacing="0" cellpadding="1" class="TitleColor">
<tr style="vertical-align: top">
<td> <table width="100%" height="290" border="1" cellpadding="4" cellspacing="0">
<tt class="HeaderColor">
<td width="175" style="vertical-align: top"><!-- TemplateBeginEditable name="Title" -->
<h3 align="center">论坛登录</h3>
<!-- TemplateEndEditable --></td>
<td width="437" style="vertical-align: top"><!-- TemplateBeginIf eond="Header" -->
<!-- TemplateBeginEditable name="Title2" -->
<h3 align=(2)>注意事项</h3>
<!-- TemplateEndEditable --><!-- TemplateEndlf--></td>
</tr>
<tr style="vertical-align: top">
<td height="230" class="TitleColor"><!-- TemplateBeginEditable name="Title3"-->
<label for="usemame"><strong>用户名称</strong></label>
<!-- TemplateEndEditable --><br><input id="usemame" name="usemame"
type="text"(3)>
<p> </p>
<!-- TemplateBeginEditable name="Title4" -->
<label for="password"><strong>用户密码
<input id="password3" name="password" type="password" size="25">
</strong></label>
<!-- TemplateEndEditable -->
<div align="right"><strong>
&nbs
请根据网页显示的效果图(如图14-4所示),将HTML文本中(n)处的解答填于相应的解答栏内。
[说明]
<html>
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<meta. http-equiv="Content-Type" eontent-"text/html; charset=gb2312">
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<!-- TemplateParam name="BodyBackgroundColor" type="color" value="FFFFFF" -->
<!-- TemplateParam name="FooterColor" type="color" value="CCCCCC" -->
<!-- TemplateParam name="ImageTitleColor" type="color" value="CCCCCC" -->
<!-- TemplateParam name="Footer" type="boolean" value="true" -->
<style. type="text/css">
<!--
body {
background-color: FFFFFF;
}
-->
</style></head>
<body marginwidth="0" marginheight="0" leffmargin="0" topmargin="0">
<br>
<table width="45%" border="0" cellspaeing="2" cellpadding="4" align="center">
<tr bgcolor="@@(ImageTitleColor )@@">
<td height=-"20"><!-- TemplateBeginEditable name="ImageTitle" -->
<div align="center">图片浏览(日落) </div>
<!-- TemplateEndEditable --x/td>.
</tr>
<tr>
<td width="60%" height="169" align="center"> <!-- TemplateBeginEditable name="Image" -->
<IMG nClick=over(this) title=放大 (1) name="image" width="318" height="137" (2) (3) ><!-- TemplateEndEditable --></td>
</tr>
</table>
<br>
<hr width="55 %" noshade size="1">
<hr>
<!-- TemplateBeginEditable name="Navigation" -->
<table width="63%" border="0" cellspacing="0" cellpadding="4" align="center">
<tr>
<td width="20%" align="right"><nobr><a href="">(4); First</a>|<a href="">(5);
Previous</a></nobr></td>
<td width="20%" align="center"><nobr><a href="">(6)</a>|2| <a href="">3</a>
|<a href="">4</a> | <a href="">5</a></nobr></td>
<td align="left" width="20%"><nobr><a href="">Next ></a>|<a href="">Last
(7); </a></nobr></td>
</tr>
</table>
<!-- TemplateEndEditable -->
</body>
</html>
下列4条指令,需要使用DX寄存器的指令有______条。
(1) IN AX,20H
(2) MUL BX
(3) DIV BL
(4) OUT 20H,AL
A.1
B.2
C.3
D.4
认真阅读下列说明,根据网页显示的效果图,并解释其中用下划线标出的语句的含义。
[说明]
某娱乐公司用ASP实现了一个用于点播电影的网页,主页文件名为“index.asp”,网页运行的效果如下图所示。程序中使用的Acess数据表结构如下表所示。
[conn.asp文档的内容]
<%
dim db,conn,connstr
db="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,1
response.write "<p><b><IMG nClick=over(this) title=放大 src=images/dot 1.gif><a hre=index.asp>全部电影</a> "
do while not rs_item, eof
response.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_type
item_type= (7)
if item_type="" or item_type="全部电影" then
sq1="select * from data"
else
sql=" (8) "
end if
set 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