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...
Which tag should you use?
You are modifying a blog site to improve search engine readability. You need to group relevant page content together to maximize search engine readability. Which tag should you use?A . <section>B . <tbody>C . <div>D . <table>View AnswerAnswer: A Explanation: The <section> tag defines sections in a document. Such as...
Which tag should you use?
You are modifying a website. The body of the page will be divided into two sections: • A content section will contain blog posts and comments. • An area on the right-hand side will contain advertisements. The page is defined by the following HTML. The site must conform to HTML5...
In what order should you specify the four anchor selectors?
DRAG DROP You are developing a web page by using HTML5 and CSS3. Hyperlinks on the page must be rendered with a style that reflects the last user action performed. You need to style the four anchor elements in the document. In what order should you specify the four anchor...
Which function should you use?
You are developing a web form that includes the following code. When a user selects the check box, an input text box must be added to the page dynamically. You need to ensure that the text box is added. Which function should you use? A . Option AB . Option...
How should you build the code segment?
HOTSPOT An HTML page has a canvas element. You need to draw a red rectangle on the canvas element dynamically. The rectangle should resemble the following graphic. How should you build the code segment? (To answer, select the appropriate options from the drop-down lists in the answer area.) View AnswerAnswer:...
Which line of code should you use?
You are developing a page that includes text and an illustration. The web page resembles the following image. • You have the following requirements: • The illustration must be in the center of the page. • The text must flow around the left, right, top, and bottom of the illustration....
How should you build the code segment?
HOTSPOT You are creating a function by using JavaScript. The function accepts an object as the parameter and returns a string that identifies the data type of the object. You have the following requirements: • The function must return "Number" if the object is a number. • The function must...
Which two actions will achieve this goal?
You are developing a web application that consumes services from a third-party application. A web worker processes the third-party application requests in the background. A page in the application instantiates the web worker process. You need to establish two-way communications between the web worker process and the page. Which two...
How should you build the code segment?
HOTSPOT You are creating a function by using JavaScript. The function accepts an object as the parameter and returns a string that identifies the data type of the object. You have the following requirements: • The function must return "Number" if the object is a number. • The function must...