设计电子商务网站时,某页面框架代码如下: <frameset rows="80,*" cols="*" frameborder="NO" border="0" framespacing="0"> <frame. src="banner. htm" name="topFrame" scrolling="NO" noresize> <frameset cols="80,*" frameborder="NO" border="0" framespacing="0"> <frame. src="left",htm" name="leftFrame" scrolling="NO" noresize> <frame. src="main.htm" name="mainFrame"> </frameset> </frameset> 该网页中定义了(64)个框架。
A.1
B.2
C.3
D.4
第1题:
请根据网页显示的效果图(见图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)

第2题:
试题五(共15分)
阅读下列说明,根据网页显示的效果图,回答问题1至问题2。
【说明 】
某电子商务网站如图5-1所示。

【index.html 文档的内容 文档的内容 文档的内容 文档的内容】
<html>
<head>
<title>网上商城</title>
</head>
<frameset (1)="15%,70%,15%" noresize="noresize" border=1
<frame. src="frame_top.html" name="top">
<frameset (2)="20%,80%">
<frame. src="frame_left.html" name="left">
<frame. src="frame_right.html" name="right">
</frameset>
<frame. src="count.asp" name="bottom">
</frameset>
</html>
【frame_left.html 文档的内容】
<html>
省略部分代码……
<center>
<table border="1" bordercolor="blue">
<tr>
<td><a href="content_1.html" (3)="right">
<img src="img/1.gif" width="100" height="30" border="0"></a></td>
</tr>
省略部分代码……
</table>
</center>
省略部分代码……
</html>
【count.asp 文档的内容 文档的内容 文档的内容 文档的内容】
<html>
<head>
<title>计数器</title>
<body>
<%
Set conn=Server.CreateObject("ADODB.Connection")
Set rs=Server.CreateObject("ADODB.(4)")
conn.ConnectionString="(5)={Microsoft Access Driver (*.mdb)};Uid=;Pwd=;DBQ=
"&Server. (6) ("database/count.mdb")
conn.open()
(7) sql
sql="(8) count set hit=hit+1"
conn.(9)(sql)%>
sql = "select * from count"
set rs=conn.execute(sql)
%>
<%
lasthit=rs.fields("lasthit")
tdate=year(Now()) & "-" & month(Now()) & "-" & day(Now())
sql="update count set lasthit='" &tdate&"' where ID="&rs.fields("id")
conn.execute(sql)
%>
<%
sql = "select * from count"
set rs=conn.execute(sql)
%>
<table bgcolor=blue><tr><td width="100%" align=center>总访问<%=rs("hit")%>次,最后访问
日期<%=rs("lasthit")%></td></tr></table>
<%
rs.close()
%>
</body>
</html>
【问题1】(6 分)
为程序中(1)~(3)处空缺选择正确答案,并填入答题纸对应的解答栏内。
(1)~(3)备选答案:
A. src
B. cols
C. rows
D. target
E. link
第3题:
有以下HTML代码,在浏览器中显示正确的是( )。
<html>
<frameset rows="25%,50%,25%">
<frame. src="/html/frame_A.html">
<frame. src="/html/frame_B.html">
<frame. src="/html/frame_C.html">
</frameset>
</html>

第4题:
● 设计电子商务网站时,某页面框架代码如下:
<frameset rows="80,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame. src="banner.htm" name="topFrame" scrolling="NO" noresize >
<frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
<frame. src="left.htm" name="leftFrame" scrolling="NO" noresize>
<frame. src="main.htm" name="mainFrame">
</frameset>
</frameset>
该网页中定义了 (64) 个框架。
(64)
A.1
B.2
C.3
D.4
第5题:
第6题:
框架中“可改变大小”的语法是下列哪一项()
第7题:
加入一条水平线的HTML代码是?()
第8题:
实现左上,右上圆角,左下和右下直角以下写法正确的是()。
第9题:
设置表格的边框为0的HTML代码是()
第10题:
看下述文件 < html> < head> < /head> < frameset cols="50%,*"> < frame name="hello" src="b.htm"> < frame name="hi" src="c.htm"> < /frameset> < /html> 下面说明正确的是()
第11题:
加入一条水平线的HTML代码是?()
第12题:
( 难度:中等)加入一条最大标题的HTML代码是?
A.<h1>
B.<img src="name" border=0>
C.<img src="name" align=center>
D.<img src="name">
答案:A
第13题:
下面代码中为横向排列多个窗口的是( )。
A.<frameset cols=20%,*> <frame. src="A.html"> <framesetrows=30%,50%*> <frame. src="B.html"> <frame. src="C.html"> </frameset> </frameset>
B.<frameset cols=30%,70%> <frame. src="A.html"> <frame. src="B.html"> </frameset>
C.<frameset rows=25%,75%> <frame. src="A.html"> <frame. src="B.html"> </frameset>
D.<frameset rows=20%,*> <frame. src="A.html"> <frameset cols=30%,50%*> <frame. src="B.html"> <frame. src="C.html"> </frameset> </frameset>
第14题:
阅读下列说明,回答问题1至问题2,将解答填入答题纸的对应栏内。
【说明】
某学生信息管理系统的网站后台管理主页如图4-1所示。

【问题1】(7分) 以下是该管理系统后台管理主页部分的html代码,请根据图4-1,从以下备选答案内为程序中(1)~(7)处空缺部分选择正确答案 <html> <head> <title> (1) <title> </head> <% if (2) ("admin")="" then (3) .Redirect ("login.asp") (4) %> <frameset (5) ="71,*" framespacing="0" border="O" frameborder="O"> <frame (6) ="heaD.asp" scrolling="no" name="head" noresize> <frameset (7) ="152,*"> <frame src="menu.asp"> <frame src="main.asp" name="main" scrolling="yes" noresize> </frameset> </frameset> …… </html> (1)~(7)的备选答案: A.cols B.else C.Rows n D.response E. Src F. session G. 设为首页 H. 后台管理 【问题2】(8分) 以下是该管理系统学生信息录入页面部分的html代码,请根据图4-1,从以下备选答案内为程序中(8)~(15)处空缺部分选择正确答案。 <html> …… <script language="JavaScript"> (8) check() { if(formA. (9) .value=="") { alert("请输入学生姓名!"); formA.name_xs.focus(); retum (10) ; } …… retum (11) ; } </script> …… <form action=" " method="post" (12) ="return check();"> <table"> <tr> <td heigh=21" colspan="2">[<strong>添加学生信息</strong>] <font color="OOOOFF"></font></td> </tr> <tr> <td width="19%" height="20">学生姓名:</td> <td width="81%"><input name="name_xs" type=" (13) "id="name_cnxdb" onkeydown="next()"></td> </tr> …… <tr align="center"> <td><input type=" (14) " value="增加"> <input type=" (15) "value="重写"></td> …… <html> (8)~(15)的备选答案: A.false B.Function C.name_xs D.onsubmit E. true F. reset G. submit H. text
第15题:
●试题五
阅读下列说明和HTML文本。在HTML文本中存在5处错误,请指出并给出改正的方法。[说明]这是一个简单的HTML文本,描述了框架结构,显示效果如图所示。
【HTML文本】
(1) <html>
(2) <head>
(3) <title>框架测试</title>
(4) </head>
(5) <meta. name="GENERATOR"content="Microsoft FrontPage 4.0">
(6) <frameset rows="64,*1">
(7) <frame. name="banner"scrolling="no"target="contents"src="header.htm">
(8) <frame. name="contents"target="list"src="list.htm">
(9) <frameset cols="150,*">
(10) <frame. name="main"src="context.htm">
(11) </frameset>
(12) </frameset>
(13) <noframes>
(14) <body><p>此网页使用了框架。</body>
(15) </noframes>
(16) </html>

图显示效果图
第16题:
● 以下是某网页框架设置的部分代码,该代码将页面分成了 (61)个区域。
<frameset cols="30%,*,*">
<frame. src='f1.html" name=main>
……
<frameset rows="120,*">
<frame. src='f2.html" name=left>
……
</frameset>
</frameset>
(61)
A. 2
B. 3
C. 4
D. 5
第17题:
表示显示框架的HTML的代码是()
第18题:
< frameset cols=# >,.表示()
第19题:
〈frameset cols="80,*"〉是用来指定()框架结构方式。
第20题:
给图片加边框正确的写法是()。
第21题:
显示框架空白区域的HTML代码是()
第22题:
框架中“禁止改变框架窗口大小”的语法是()
第23题:
<IMG style="FILTER: ; WIDTH: 161px; HEIGHT: 39px" height=39 alt="" hspace=0 src="https://static.tiw.cn//files/201202/20120222172336171.jpg" width=161 border=0>
<IMG style="FILTER: ; WIDTH: 148px; HEIGHT: 39px" height=39 alt="" hspace=0 src="https://static.tiw.cn//files/201202/20120222172344780.jpg" width=148 border=0>
<IMG style="FILTER: ; WIDTH: 136px; HEIGHT: 38px" height=38 alt="" hspace=0 src="https://static.tiw.cn//files/201202/20120222172350368.jpg" width=136 border=0>
<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>