It is more faster and easier to pass the Microsoft 70-480 exam by using Top Quality Microsoft Programming in HTML5 with JavaScript and CSS3 questuins and answers. Immediate access to the Improve 70-480 Exam and find the same core area 70-480 questions with professionally verified answers, then PASS your exam with a high score now.
Q21. You are implementing an application by using HTML5 and JavaScript. A web page contains the following HTML table.
The application must:
. Identify all rows in the table body that have a class attribute of selected
. Exclude the last selected row in the table
You need to implement the web page according to the requirements.
Which CSS selector should you use?
A. tr:not(tr:last-child).selected < #dataTable
B. #dataTable > tr.selected:not(tr:last-child)
C. #dataTable tbody tr.selected:not(tr:last-child)
D. #dataTable tr.selected:not(tr:last-child)
Answer: C
Q22. You are developing a blog web page that is being optimized for accessibility. The page includes the following HTML.
The heading tags represent a blog post title, a blog post subtitle, and the author's name.
You need to ensure that the three headings are treated as a unit but retain their individual formatting.
Which tags should you use to wrap the H1, H2, and H3 elements?
A. <group> </group>
B. <header> </header>
C. <hgroup> </hgroup>
D. <headings> </headings>
Answer: C
Q23. You are developing an HTML5 web application. The application loads data from a web service by using AJAX. The application displays the data by calling the displayData function. The data is loaded by using the following code.
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Q24. 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?
A. <input id="txtValue" type="code" />
B. <input id="txtValue" type="text" pattern=" [A-Za-z] {3}" />
C. <input id="txtValue" type="text" required="required"/>
D. <input id="txtValue" type="country" />
Answer: B
Q25. 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 A
B. Option B
C. Option C
D. Option D
Answer: A
Q26. 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?
A. <video id= "myVideo" height="320" width="400" src="myVideo.vtt" contextmenu="pauseplay"> </video>
B. <video id="myVideon heigh"="320" width="400" src="myVideo.vtt" controls> </video>
C. <video _d="myVideon height="320" width="400" src="myVideo.vtt" autoplay> </video>
D. <video id="myVideo" height="320" width="400" src="myVideo.vtt" contextinenu="Startstopn> </video>
Answer: B
Q27. You develop an interactive scalable vector graphic (SVG) application.
You write the following code (Line numbers are included for reference only.):
You need to increase the size of the circle by 50 percent. Which code segment should you insert at line 02?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Q28. You are developing an HTML5 web application and are styling text.
You need to use the text-transform CSS property.
Which values are valid for the text-transform property?
A. hidden
B. blink
C. capitalize
D. line-through
Answer: C
Q29. You are modifying an existing web page. The page is being optimized for accessibility. The current page contains the following HTML.
Standards-compliant screen readers must be able to identify the links contained within the navigation structure automatically.
You need to create the navigation link structure in the page.
With which container tags should you wrap the existing markup?
A. <navmap> </navmap>
B. <div id="nav"> </div>
C. <nav> </nav>
D. <map> </map>
Answer: C
Q30. You are developing a customer web form that includes the following HTML.
<input id="txtValue" type="text" />
A customer must enter a valid age in the text box prior to submitting the form.
You need to add validation to the control.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D