Which line of code should you use?
You are developing a page that includes text and anillustration. The web page resembles the followingimage.
You have the following requirements:
The illustration must be in the center of the page.
The text must flow around the left, right, top, andbottom of the illustration.
You need to ensure that the layout of the web page meets the requirements.
Which line of code should you use?
Which code segment should you use?
You are developing a web page that has a group of H1 and H2 elements.
The page also includes a CSS class named underlineMe.
You have the following requirements.
The font color of all H1 and H2 elements must be changed to red.
The CSS class underlineMe must be applied to all H1and H2 elements.
You need to update the web page to meet the requirements.
Which code segment should you use?
Which illustration should you submit?
Which CSS3 property should you use?
You are developing a web page that will be divided into three vertical sections.
The main content of the site will be placed in the center section.
The two outer sections will contain advertisements.
You have the following requirements:
The main content section must be set to two times the width of the advertising sections.
The layout must be specified by using the CSS3 flexible box model.
You need to ensure that the visual layout of the page meets the requirements.
Which CSS3 property should you use?
Which value should you use?
You are developing an HTML5 page.
The page includes the following code.
The inner paragraph must be exactly 15 pixels from the top left corner of the outer paragraph.
You set the left style for the inner paragraph to the appropriate value.
You need to set the position property of the inner paragraph.
Which value should you use?
Which HTML should you use?
You are developing a customer web form that includes the following HTML input field.
<input id=”txtValue”/>
If a customer enters a value in the input field, then it must be a numeric value.
You need to add validation to the input field. Which HTML should you use?
Which HTML should you use?
You are developing a customer web form that includes the following HTML.
<input id=”txtValue”/>
You need to change the HTML markup so that customers can enter only a valid three-letter country
code.
Which HTML should you use?
Which code segment should you use?
You are developing a web form that includes the following HTML.
<input id=”txtValue” type=”text” />
You need to ensure that a value is entered into txtValue before the form is submitted.
Which code segment should you use?
Which line of code should you use?
You are developing a web page that consumes a Windows Communication Foundation (WCF) service. The
page includes the following code segment.
var xhr = new XMLHttpRequest() ;
The page uses the xhrHandler() method to listen forchanges to the request status of the WCF service calls.
It uses the xmlToJavaScript() method to convert theresponse from the WCF service to a JavaScript object.
The xhrHandlerQ method must be called automaticallyeach time the request status changes.
You need to add the event handler to the request object.
Which line of code should you use?
Which code segment should you use?
You are developing a customer web form that includes following HTML.
<input id=”txtValue”/>
You need to develop the form so that customers can enter only avalid country code consisting of three
English alphabet characters.
Which code segment should you use?