1、/HEAD中 b) /BODY中c) a)和b)都正确 d) 以上都不正确4. 以下代码会生成什么样的Frame结构 (c)frameset border=”5” cols=”*,20%” frame src=”left.html” name=”leftFrame”/framesetframe src=”right.html” name=”rightFrame” scrolling=”NO”/ a) b)c) d)5. 以下HTML代码在浏览器中的显示结果正确的是 (a)TABLE WIDTH=100% BORDER=1 BGCOLOR=grayCAPTION Sample table TR
2、ALIGN=CENTER TD COLSPAN=2CellTD Cell TD ROWSPAN=2/TABLESample TableCell二、简答题:1、简述Web的工作原理答:客户机向服务器发送请求,要求服务器执行某项任务,服务器执行该项任务,并向客户机返回响应。2、什么是HTML,HTML有什么作用HTML是一种标记语言;作用是用于描述网页的格式设计和它与互联网上其他网页的连接信息。3、什么是CSS,CSS嵌入到网页中有哪几种方式CSS的中文称为层叠样式表,是用于控制网页样式并且允许将样式信息与网页内容分离的一种技术;CSS嵌入到网页中的方式有: 1、定义内部样式块对象; 2、内联定义
3、;3、链入外部样式表文件; 4、导入外部样式表文件。4、有以下HTML代码,请说明各单元格的背景颜色table border=”2”tr bgcolor=”yellow”td bgcolor=”red”1月td2月3月tr bgcolor=”gray”5月6月7月1月红色;2月黄色;3月绿色;5月红色;6月紫色;7月绿色。5、创建一个系统登录的HTML网页,包含一个用户名输入的编辑框、一个密码输入框、一个确认按钮和一个重置按钮代码如下:headtitle输入窗口/headbodyform name=”f” method=”get”请输入你的用户名请输入你的密码input type=”submi
4、t” value=”ok”input type=”reset” value=”reset”/form/bodyJavascript部分一、选择题1. Javascript中OnChange( c )事件产生于i Text box中的内容发生变化ii Text area中的内容发生变化iii 选择list box中的项目iv 选中checkboxa) 以上都正确 b) 只有i和ii c) 只有i和iii d)只有i, ii和iii2. 有以下HTML代码form name=”form1” action=”sample.jsp” method=”POST”input type=”button” v
5、alue=”Button 1”input type=”reset” value=”Button 2” onClick=”form1.submit()”怎样操作才能向服务器提交数据 ( b )a) 点击“Button 1” b) 点击“Button 2” c) a)和b)都可以 d) 以上都不正确3. 以下Javsscript的运行结果为:( a )var m = false;if (m = true) document.write(True);elseFalsea) False b) True c) None d) 运行时出错1. JavaScript的功能是什么JavaScript提供了数据
6、验证的功能,减轻服务器数据处理的负荷,可利用JavaScript进行动态网页的设计。2. 写出以下JavaScript代码在浏览器中的显示结果script type=text/javascriptdocument.write(Math.round(Math.random()*10)/script显示0到9之间的随机数。3. 写出以下JavaScript代码在浏览器中的显示结果Script Language=JavaScriptfor (i = 1;i10;i+) if (i = 5) break; for (j=i;j/Script1*1=1 1*2=2 1*3=3 1*4=4 1*5=5 1
7、*6=6 1*7=7 1*8=8 1*9=92*2=4 2*3=6 2*4=8 2*5=10 2*6=12 2*7=14 2*8=16 2*9=183*3=9 3*4=12 3*5=15 3*6=18 3*7=21 3*8=24 3*9=274*4=16 4*5=20 4*6=24 4*7=28 4*8=32 4*9=36ASP及其他一、简答题:1、ASP中有哪些主要对象,功能是什么?1、Request对象:利用它可以访问任何基于HTTP请求的所有信息; 2、Response对象:用于控制发给浏览器的信息; 3、Session对象:用于存储特定的用户会话信息; 4、Application对象:
8、用于共享应用程序的信息; 5、Server对象:用于访问服务器上的方法和属性; 6、ObjectContext对象:用于控制ASP脚本初始化事务。2、分析以下ASP程序代码的运行结果%LANGUAGE=JAVASCRIPT%Response.Buffer=true%var i;for (i=1;=5; Response.Write(i + br /Response.Clear();for (i=6;=10;Response.End();for (i=11;=15; 6 7 8 9 10编程:1、 编写个人简介网页,能够运用图片、表格等HTML元素,并结合CSS,创建图文并茂的个人资料网页。!D
9、OCTYPE HTMLmeta name=description content=website description/keywordswebsite keywords, website keywordsmeta http-equiv=content-typetext/html;charset=UTF-8link rel=stylesheet type=text/csshref=css/style.css-modernizer enables HTML5 elements and feature detects-src=js/modernizr-1.5.min.jsdiv =id=mainh
10、eaderdiv id=logo CSS3_a href=#B&W2/hl/divnavul class=lavaLampWithImage id=lava_menu li class=currentindex.htmlhomeliexamples.htmlexamplespage.htmla pageanother_page.htmlanother pagecontact.phpcontact/nav/headersite_contentslideshowshowimg width=950 height=350 src=images/l.jpgalt="You can pu
11、t a caption for your image right here&height=images/2.jpg alt=You can put a description of the imge here if you like,or anything else if you want.&images/3.jpgYou can put a description of the image here if you like, or anythingelse if you want.&sidebar_containerdiv class=sidebarh3Latest Newsh4New We
12、bsite Launchedh5January 1st, 2015p2015 sees the redesign of our website. Take a look around and let us know what you think.Read moreulYou can put a description of the image here if you like, or anything else if you want.&You can put a description of the image here if you like,or anything else if you
13、 want.&January 1st,2015Useful Links First LinkAnother LinkAnd AnotherLast OneWelcome to CSS3_B&/h1 This standards compliant,flxed width website template is released as an open SOLIrCe desi gn (under a a hrefhttp:/sc. chinaz. com)Creat1ve Commons Attribution 3 0 Licence(/a) , whi ch means that you ar
14、e free to I-ISe i t for anythlng you want (including modifying and amending (t). All I ask i s that you leave the design from css3tempIates. co. 1.1k link in the footer of the template. p)The template u s e s a 1 aval amp menu (based on jQuery) from (a href/sc. chinaz. com/)here (a). All of the imag
15、e s were shot by me - use as you wish. (2)Browser Compatibility div class- sidebar) (3)Useful Links ID a hrefz)Another Link (a) /li) (ID(a href)Last One / li / ul liXa hrefz)First Link(/aX/li) liXa href)And Another /div) div idzcontent (l)Wel orne to CSS3 B&W2 p)This standards compliant , fixed widt
16、h website template is released as an open source , desi that you are free to LISe i t for anything you want (including modifying and amending (t). Al 1 1 ask is that you leave the , design from css3temp1ates. co. 1-1k 1 ink in the footer of p)The template u s e s a lavalarnp menu (based on jQuery) f
17、rom (a /sc. chlnaz. com/)here(/a All of the Image s were shot by me (h2)Browser Compatibility(/h2) (p)This template has been tested in the following browsers: / P K/div) footer) use as you WIsh. K/p) p index. html)home ,/a) about. html)about me blog contact. php)contact(,/aX,/p) my portfolio(/a) /sc. chi naz com )des i gn from css3 p)© 2015 CSS3 B&W2 All Rights Reserved.2、在前一作业的基础上,利用HTML的表单,为个人主页增加留言功能,服务端采用ASP技术,能将其他人的留言按时间顺序显示在个人主页上。
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1