网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

假设assets目录下有文件结构html/hello.html,用loadUrl()方法将该网页加载至webView时,需传入的参数是()。

  • A、file:///asset/html/hello.html
  • B、file:///android_asset/html/hello.html
  • C、file:///androidasset/hello.html
  • D、file:///assets/html/hello.html

参考答案

更多 “假设assets目录下有文件结构html/hello.html,用loadUrl()方法将该网页加载至webView时,需传入的参数是()。A、file:///asset/html/hello.htmlB、file:///android_asset/html/hello.htmlC、file:///androidasset/hello.htmlD、file:///assets/html/hello.html” 相关考题
考题 ●试题四阅读下列HTML文本和说明,在该HTML文本中存在5处错误,请指出错误所在的行号、错误原因及改正方法,把解答填入答题纸的对应栏内。[说明]这是一个图片加载的题目,此Web页的名称为myhomcpage。【HTML文本】(1) html(2) head(3) bodybgcolor="#FFFFFF"text="200"leftmargin="#000000"(4) !this is an example(5) fontcolor=#110099size=2这是一张图片/fontbr(6) img src="file.gif"vspace="middle"align="33"(7) titlemyhomepage/title(8) /head(9) /body(10) /html

考题 下面代码包括一个HTML文件和一个Applet类,在hello.html文件的横线处填入相应的内容,把HelloApplet嵌入在hello.html中。hello.html文件内容:<HTML><HEAD><TITLE>Hello</TITLE></HEAD><BODY><APPLET CODE="______"IDTH=150 HIGHT=25></APPLET></BODY></HTML>HelloApplet.java文件内容:import java.awt.*;import java.applet.*;public class HelloApplet extends Applet {public void paint(Graphics g) {g.drawString("Hello!",25,25);}}

考题 ●试题三阅读下列HTMIL文本和说明,在该HTML文本中存在5处错误,请指出错误所在的行号、错误原因及改正方法,把解答填入答题纸的对应栏内。[说明]这是一个生成多窗口网页的题目,此Web页的名称为myhomepage。【HTML文本】(1) html(2) titlemy home page/title(3) head(4) body bgcolor="#FFFFFF"text="#000000"(5) !thisisaexample(6) frameset rows="50,50"(7) frame. src="filel.htm"(8) frameset cols="50,50"(9) flame src="file2.htm"(10) flame src="file3.htm"(11) (12) /frameset(13) /body(14) /head(15) /html

考题 某页面的URL为http://www.abc.net/file/file.html。此页面中有一个网络拓扑结构简图(map.gif)和一段简单的解释文字。我们希望能够从这张简图或者从这段文字中的“网络拓扑”链接到该网络拓扑的详细情况的主http://www.topology.net/index.html。试写出两种相应的HTML语句。

考题 跳转到”hello.html”页面的”bn”锚点的代码是()。

考题 GivenaportionofavalidJavaEEwebapplication’sdirectorystructure:MyApp||--File1.html||--Directory1||--File2.html||--META-INF|--File3.htmlYouwanttoknowwhetherFile1.html,File2.html,and/orFile3.htmlwillbedirectlyaccessiblebyyourwebclient’sbrowsers.Whichstatementistrue?()A.Allthreefilesaredirectlyaccessible.B.OnlyFile1.htmlisdirectlyaccessible.C.OnlyFile2.htmlisdirectlyaccessible.D.OnlyFile3.htmlisdirectlyaccessible.E.OnlyFile1.htmlandFile2.htmlaredirectlyaccessible.

考题 GivenaportionofavalidJavaEEwebapplication’sdirectorystructure:MyApp||--Directory1||--File1.html||--META-INF||--File2.html||--WEB-INF|--File3.htmlYouwanttoknowwhetherFile1.html,File2.html,and/orFile3.htmlisprotectedfromdirectaccessbyyourwebclient’sbrowsers.Whatstatementistrue?()A.Allthreefilesaredirectlyaccessible.B.OnlyFile1.htmlisdirectlyaccessible.C.OnlyFile2.htmlisdirectlyaccessible.D.OnlyFile3.htmlisdirectlyaccessible.

考题 GiventhisfragmentfromaJavaEEdeploymentdescriptor:124.welcome-filebeta.html/welcome-file125.welcome-filealpha.html/welcome-fileAndthisrequestfromabrowser:http://www.sun.com/SCWCDtestApp/registerWhichstatementiscorrect,whenthecontainerreceivesthisrequest?()A.ThisdeploymentdescriptorisNOTvalid.B.Thecontainerfirstlooksintheregisterdirectoryforbeta.html.C.Thecontainerfirstlooksintheregisterdirectoryforalpha.html.D.Thecontainerfirstlooksforaservletmappinginthedeploymentdescriptor.

考题 用HTML编写一个简单的网页,网页的最基本结构应该是?() 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〉

考题 URL consists of three parts: the protocol(75), the DNS name of the host (www.csai.cn) and the file name (index.html).A.IPB.UDPC.TCPD.HTTP

考题 __(41)__是正确的网页代码结构。A. B. __(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 >

考题 __(41)__是正确的网页代码结构。A. B. __(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 >

考题 Use regex to remove all html tags from a file.

考题 按照Internet中URL的格式规定,http://www.mhw.gov/main/hello.html中的主机域名(或站点地址)是()。

考题 ... ,表示()A、跳转到”hello.html”页面的顶部B、跳转到”hello.html”页面的”top”锚点C、跳转到”hello.html”页面的底部D、跳转到”hello.html”页面的文字”top”所在链接

考题 HTML文件通过标准化的()对网页内容进行标注。A、FormB、cssC、TagD、file

考题 Every page of your web site must include a common set of navigation menus at the top of the page. Thismenu is static HTML and changes frequently,so you have decided to use JSP’s static import mechanism. Which JSP code snippet accomplishes this goal?()A、%@ import file=’/common/menu.html’ %B、%@ page import=’/common/menu.html’ %C、%@ import page=’/common/menu.html’ %D、%@ include file=’/common/menu.html’ %E、%@ page include=’/common/menu.html’ %

考题 Given a portion of a valid Java EE web application’s directory structure: MyApp | |-- File1.html | |-- Directory1 ||-- File2.html| |-- META-INF |-- File3.html You want to know whether File1.html, File2.html, and/or File3.html will be directly accessible by your webclient’s browsers. Which statement is true?()A、All three files are directly accessible.B、Only File1.html is directly accessible.C、Only File2.html is directly accessible.D、Only File3.html is directly accessible.E、Only File1.html and File2.html are directly accessible.

考题 You are developing several tag libraries that will be sold for development of third-party web applications.You are about to publish the first three libraries as JAR files: container-tags.jar,advanced-html-form-tags.jar, and basic-html-form-tags.jar. Which two techniques are appropriate for packaging the TLD files forthese tag libraries?()A、The TLD must be located within the WEB-INF directory of the JAR file.B、The TLD must be located within the META-INF directory of the JAR file.C、The TLD must be located within the META-INF/tld/ directory of the JAR file.D、The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.E、The TLD must be located within a subdirectory of META-INF directory of the JAR file.

考题 跳转到”hello.html”页面的”bn”锚点的代码是()。A、<a href="hello.htmlbn">...</a>B、<a href="bnl#hellohtml">...</a>C、<a href="hello.html#bn">...</a>D、<a href="#bn">...</a>

考题 Given a portion of a valid Java EE web application’s directory structure:MyApp | |--Directory1 ||--File1.html| |--META-INF|  |--File2.html| |--WEB-INF |--File3.html You want to know whether File1.html, File2.html,and/or File3.html is protected from direct access by yourweb client’s browsers. What statement is true?()A、All three files are directly accessible.B、Only File1.html is directly accessible.C、Only File2.html is directly accessible.D、Only File3.html is directly accessible.

考题 You are building JSP pages that have a set of menus that are visible based on a user’s security role. Thesemenus are hand-crafted by your web design team; for example, the SalesManager role has a menu in thefile /WEB-INF/html/sales-mgr-menu.html. Which JSP code snippet should be used to make this menuvisible to the user?()A、% if ( request.isUserInRole("SalesManager") ) { % %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % % } %B、jsp:if test=’request.isUserInRole("SalesManager")’ %@ include file=’/WEB-INF/html/sales-mgr-menu.html’ % /jsp:ifC、% if ( request.isUserInRole("SalesManager") ) { % . jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / . % } %D、jsp:if test=’request.isUserInRole("SalesManager")’ jsp:include file=’/WEB-INF/html/sales-mgr-menu.html’ / /jsp:if

考题 多选题You are developing several tag libraries that will be sold for development of third-party web applications.You are about to publish the first three libraries as JAR files: container-tags.jar,advanced-html-form-tags.jar, and basic-html-form-tags.jar. Which two techniques are appropriate for packaging the TLD files forthese tag libraries?()AThe TLD must be located within the WEB-INF directory of the JAR file.BThe TLD must be located within the META-INF directory of the JAR file.CThe TLD must be located within the META-INF/tld/ directory of the JAR file.DThe TLD must be located within a subdirectory of WEB-INF directory of the JAR file.EThe TLD must be located within a subdirectory of META-INF directory of the JAR file.

考题 单选题跳转到”hello.html”页面的”bn”锚点的代码是()。A <a href=hello.htmlbn>...</a>B <a href=bnl#hellohtml>...</a>C <a href=hello.html#bn>...</a>D <a href=#bn>...</a>

考题 单选题假设assets目录下有文件结构html/hello.html,用loadUrl()方法将该网页加载至webView时,需传入的参数是()。A file:///asset/html/hello.htmlB file:///android_asset/html/hello.htmlC file:///androidasset/hello.htmlD file:///assets/html/hello.html

考题 单选题Given a portion of a valid Java EE web application’s directory structure: MyApp | |-- File1.html | |-- Directory1 ||-- File2.html| |-- META-INF |-- File3.html You want to know whether File1.html, File2.html, and/or File3.html will be directly accessible by your webclient’s browsers. Which statement is true?()A All three files are directly accessible.B Only File1.html is directly accessible.C Only File2.html is directly accessible.D Only File3.html is directly accessible.E Only File1.html and File2.html are directly accessible.

考题 单选题Every page of your web site must include a common set of navigation menus at the top of the page. Thismenu is static HTML and changes frequently,so you have decided to use JSP’s static import mechanism. Which JSP code snippet accomplishes this goal?()A %@ import file=’/common/menu.html’ %B %@ page import=’/common/menu.html’ %C %@ import page=’/common/menu.html’ %D %@ include file=’/common/menu.html’ %E %@ page include=’/common/menu.html’ %