在HTML语言中,如果要对文字的字体进行修饰,应通过()
A. font-family: "宋体"
B. font-size: 9pt
C. color: #990000
D. href="../example1/2.html"
查看答案
You work as an application developer at Certkiller .com. You are required to launch the App.exe process, and specify sample.txt as the input file. App.exe will then use the contents of sample.txt to establish the environment’scurrent settings.You need to ensure that the code you use meets these requirements. What should you do?()
A
B
C
D
You create a Web page that contains the following image element. You need to write a JavaScript function that will dynamically change which image is displayed. Which code segment should you use?()
A. function changeImage() {myImage.src = "image2.png"; }
B. function changeImage() { document.getElementById("myImage").src = "image2.png"; }
C. function changeImage() { getElementById("myImage").src = "image2.png"; }
D. function changeImage() { window.getElementById("myImage").src = "image2.png"; }
YouarecreatingamobileWebFormthatdynamicallydisplaysnewsitems.YouwanttodisplaynewsitemsbyusinganinstanceofamobileTextViewcontrolnamedTextViewNews.YouneedtoconfiguretheWebFormthatcontainsTextViewNews.TheWebFormmustenablepaginationincaseausersdevicedoesnotdisplaythefulltextofanewsitem.Whichcodesegmentshouldyouuse?()
A. PagerStyleps=newPagerStyle();ps.NextPageText=“more>”;ps.PreviousPageText=“
B. FormNews.PagerStyle.NextPageText=“more>”;FormNews.PagerStyle.PreviousPageText=“
C. FormNews.PagerStyle.NextPageText=“more>”;FormNews.PagerStyle.PreviousPageText=“
D. FormNews.PagerStyle.NextPageText=“more>”;FormNews.PagerStyle.PreviousPageText=“
You work as an application developer at Certkiller .com. Certkiller .com uses an application that calculates monthly payments based upon client input. You are currently debugging this application using the Microsoft Visual Studio 2005 IDE. The application contains the following code: public double CalculateMonthlyPayment (Single rate, double principal) { //Implementation code } You have discovered that unexpected results are being returned by the application. You would like to pause execution and display a message box containing an error message in the event of a negative or zero rate value is Passed to the CalculateMonthlyPayment method. You need to ensure that this only occurs during debugging mode. What should you do?()
A
B
C
D