with 80+ Questions and Verified Answers 100%
1. Which of the following statements about HTML5 is true?: HTML5 does notrequire
m m m m m m m m m m m m m
third-party plug-ins for video and audio content
m m m m m m
2. What is the purpose of using the <output> element in a Web form?: It displaysthe resu
m m m m m m m m m m m m m m m m
lt of a calculation in the form
m m m m m m
3. Why are syntax errors so common when writing JavaScript code?: BecauseJavaScrip
m m m m m m m m m m m
t is case-specific
m m
4. What CSS3 property can be used to create rounded corners on an image orother el
m m m m m m m m m m m m m m m
ement?: border-radius m
5. What type of JavaScript expression evaluates to true or false?: Logical
m m m m m m m m m m
6. Which statement is true about JavaScript?: JavaScript is widely used forclient-
m m m m m m m m m m m
side and server-side scripts
m m m
7. You have created a Web page using the HTML5 <nav> structural element todefine
m m m m m m m m m m m m m m
a navigation area. Consider the following external style sheet code:
m m m m m m m m m
nav { float:left
m m
1m/m9
,; width:165px;
m
background:#d8d8d8 url(background.gif) top right;height m m m m
:662px;
}
Where on the page will the image (background.gif) appear?: At the top right ofthe nav
m m m m m m m m m m m m m m m m
section
8. Kate has created a complex script that she wants to attach to multiple HTMLfiles, b
m m m m m m m m m m m m m m m
ut she also wants to add a simple script to only certain sections of onepage. What m
m m m m m m m m m m m m m m m m m
ust she do to apply both scripts?: She must use separate <script>elements to call the e
m m m m m m m m m m m m m m m m
xternal script file and to embed a separate script
m m m m m m m m
9. Vivi is creating a Web page that will allow her employees to upload their timeshe
m m m m m m m m m m m m m m
ets to the company intranet. What HTML5 API can she use to restrictuploads to a sp
m m m m m m m m m m m m m m m m
ecific file type?: The File API
m m m m m
10. Which method of form input validation is sometimes referred to as
m m m m m m m m m m
"pogo-
sticking" and may lead to users becoming frustrated or impatient withthe form?: Requ
m m m m m m m m m m m m m
iring users to click Submit before validation occurs
m m m m m m m
2m/m9
, 11. Which HTML5 attribute can help users input valid form data in the
m m m m m m m m m m m
<textarea> element by providing the user with a hint identifying the expectedinput in
m m m m m m m m m m m m m m
the field?: The placeholder attribute
m m m m
12. Consider the following code:
m m m
<script>
3m/m9