Which HTML element should you use?
You develop an HTML5 application. You give users a numeric access code that can be used only one time.
Users must enter the numeric access code in the login form of the application. The numeric characters must be hidden by a masking character.
You need to implement the form element for users to enter the code.
Which HTML element should you use?
Which two code segments should you add to the webpage?
You develop an HTML5 webpage that contains the following HTML markup:
You have the following requirements:
Retrieve the content for any OPTION elements when the value of the selected attribute equals selected.
Add the content to a comma separated string.
You need to retrieve the required data.
Which two code segments should you add to the webpage? (Each correct answer presents a complete solution. Choose two.)
Which line of code should you add at line 03?
You are creating a web page that contains a canvas with text.
The page contains the following JavaScript code. (Line numbers are included for reference only.)
The text on the canvas must rotate 90 degrees when a user clicks a button on the page.
You need to ensure that the text rotates when the user clicks the button.
Which line of code should you add at line 03?
Which line of code should you add to the page?
You are creating an HTML5 application that allows users to play video on a page by using the VIDEO element.
You need to enable the user to start, stop, and pause the video.
Which line of code should you add to the page?
Which code segment should you insert at line 04?
You need to ensure that the value that the user enters …
You develop a webpage by using HTML5. You create the following markup:
<input type “url” name= “website” required=”required” />
You need to ensure that the value that the user enters contains a secure URL.
What should you do?
Which CSS selector should you use?
You develop an HTML application that contains a table that displays a list of products. The table is defined with the following HTML markup:
You must style the table to look like the following image:
You need to implement the CSS selectors to select the rows that must have a blue background.
Which CSS selector should you use?
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?
Which JavaScript function should you use?
You develop a webpage that allows a user to download a 3PEG image and convert it to a PNG file.
You need to implement the code to download the contents of the JPEG image with no additional decoding.
Which JavaScript function should you use?
Which code segment should you insert at line 05?
You develop a web application by using jQuery. You develop the following jQuery code: (Line numbers are included for reference only.)
The web application exposes a RESTful web API that has an endpoint of/product/create.
You need to create a new product by using AJAX.
Which code segment should you insert at line 05?