In which order should you use the five style sheets?

DRAG DROP You are creating an application by using HTML5 and CSS3. The styles for the pages are derived from five style sheets. The styles are not being applied correctly to the pages in the application. You need to apply the styles from highest priority to lowest priority. In which...

January 4, 2019 No Comments READ MORE +

Which code segment or segments should you use?

DRAG DROP You are developing an application for an online retailer. The company ships only to certain countries. The application must: • Store a list of country codes in an array • Validate the country code of the shipping address against the countries array • Include a Boolean value in...

January 4, 2019 No Comments READ MORE +

Which two code segments can you use?

You are creating a JavaScript function that displays the name of a web application. You declare the following button element. <input type="button" id= "About" value="About" /> When a user clicks the button, a JavaScript function named About must be called. You need to create an event handler that calls the...

January 3, 2019 No Comments READ MORE +

Which code segment should you use?

You are developing application web form by using HTML5 and JavaScript. You need to prevent users from submitting form data more than once. Which code segment should you use? A . Option AB . Option BC . Option CD . Option DView AnswerAnswer: A Explanation: * this, in disable(this), refers...

January 1, 2019 No Comments READ MORE +

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 . <article>B . <table>C . <div>D . <span>View AnswerAnswer: A Explanation: The <article> tag specifies independent, self-contained content. An article should...

January 1, 2019 No Comments READ MORE +

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:...

December 30, 2018 No Comments READ MORE +

Which value is valid for the text-transform property?

You are developing an HTML5 web application and are styling text. You need to use the text-transform CSS property. Which value is valid for the text-transform property?A . CapitalizeB . RedC . 20pxD . ItalicView AnswerAnswer: A Explanation: CSS Syntax text-transform: none|capitalize|uppercase|lowercase|initial|inherit; Example Transform text in different elements: h1 {text-transform:uppercase;}...

December 25, 2018 No Comments READ MORE +

Which CSS style should you use?

You are developing an HTML5 page that includes several paragraph elements. You have the following requirements: • Add a drop shadow that is one inch below the text in the paragraph • Set the radius of the drop shadow to five pixels You need to style the paragraphs to meet...

December 25, 2018 No Comments READ MORE +

Which value is valid for the text-transform property?

You are developing an HTML5 web application and are styling text. You need to use the text-transform CSS property. Which value is valid for the text-transform property?A . ItalicB . Line-throughC . CapitalizeD . 20pxView AnswerAnswer: C Explanation: CSS Syntax text-transform: none|capitalize|uppercase|lowercase|initial|inherit; Example Transform text in different elements: h1 {text-transform:uppercase;}...

December 24, 2018 No Comments READ MORE +

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....

December 24, 2018 No Comments READ MORE +