HTML
第1题:
A.〈html〉〈title〉…〈/title〉〈body〉…〈/body〉〈/html〉
B.〈html〉〈head〉…〈/head〉〈body〉…〈/body〉〈/html〉
C.〈html〉〈head〉…〈/head〉〈frame〉…〈/frame〉〈/html〉
D.〈html〉〈title〉…〈/title〉〈frame〉…〈/frame〉〈/html〉
第2题:
__(41)__是正确的网页代码结构。
A.<html> </html> <head> </head> <body> </body>
B.<html> < head > <body> </body> < /head > < /html >
C.<html> < head > < /head > <body> </body> < /html >
D.<html> <body> < head > < /head > </body> < /html >
第3题:
Everypageofyourwebsitemustincludeacommonsetofnavigationmenusatthetopofthepage.ThismenuisstaticHTMLandchangesfrequently,soyouhavedecidedtouseJSP’sstaticimportmechanism.WhichJSPcodesnippetaccomplishesthisgoal?()
A.<%@importfile=’/common/menu.html’%>
B.<%@pageimport=’/common/menu.html’%>
C.<%@importpage=’/common/menu.html’%>
D.<%@includefile=’/common/menu.html’%>
E.<%@pageinclude=’/common/menu.html’%>
第4题:
A.HTML4.0
B.HTML3.2
C.HTML2.1
D.HTML2.0
第5题:
下面选项中关于HTML语法格式描述正确的是( )。
A.<html> <head> <title>…</title> </head> <body> ? </body> </html>
B.<html> <head> <title>…</title> <body> ? </body> </html> </head>
C.<head> <html> <title>…</title> <body> ? </body> </html> </head>
D.<html> <title>…</title> <head> </head> <body> ? </body> </html>
第6题:
__(41)__是正确的网页代码结构。
A.<html> </html> <head> </head> <body> </body>
B.<tml> < head > <body> </body> < /head > < /html >
C.<html> < head > < /head > <body> </body> < /html >
D.<html> <body> < head > < /head > </body> < /html >
第7题:
</P> B.
</body> C.为了标识一个HTML文件应该使用的HTML标记是 ( )
A.<P></P>
B.<body></body>
C.<html></hTmL>
D.<table></table>
第8题:
YouarebuildingJSPpagesthathaveasetofmenusthatarevisiblebasedonauser’ssecurityrole.Thesemenusarehand-craftedbyyourwebdesignteam;forexample,theSalesManagerrolehasamenuinthefile/WEB-INF/html/sales-mgr-menu.html.WhichJSPcodesnippetshouldbeusedtomakethismenuvisibletotheuser?()
A.<%if(request.isUserInRole("SalesManager")){%><%@includefile=’/WEB-INF/html/sales-mgr-menu.html’%><%}%>
B.<jsp:iftest=’request.isUserInRole("SalesManager")’><%@includefile=’/WEB-INF/html/sales-mgr-menu.html’%></jsp:if>
C.<%if(request.isUserInRole("SalesManager")){%>.<jsp:includefile=’/WEB-INF/html/sales-mgr-menu.html’/>.<%}%>
D.<jsp:iftest=’request.isUserInRole("SalesManager")’><jsp:includefile=’/WEB-INF/html/sales-mgr-menu.html’/></jsp:if>
第9题:
有以下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>
第10题:
HTML的文件扩展名是()。