Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Question: 01
Which media event is triggered when there is an error in fetching media data in HTML 5.0?
a. onstalled
b. onwaiting
c. onsuspend
d. oninvalid
Question: 02
Which of the following video file formats are currently supported by the <video> element of HTML 5.0?
a. CCTV
b. MPEG 4
c. Ogg
d. 3GPP
Question: 03
Which of the following is NOT a valid value for the <iframe> sandbox attribute in HTML 5.0?
a. url
b. allow-scripts
c. allow-same-origin
d. allow-formsQuestion: 04
Which of the following is an INVALID value for the type attribute of command tag?
a. checkbox
b. radio
c. command
d. text
Question: 05
What is the function of the history traversal task source in HTML 5.0?
a. It is used for features that react to user interaction, for example, keyboard or mouse input.
b. It is used for features that react to DOM manipulations, for example, the things that happen
asynchronously when an element is inserted in the document.
c. It is used to queue calls to history.back() and similar APIs.
d. All of the above.
Question: 06
What will be the result if you use the following code to your HTML 5.0 document?
<p>I use <del>MAC</del> <ins>Microsoft</ins>!</p>
a. I use MAC Microsoft!
b. I use MAC Microsoft!
c. I use MAC Microsoft!
d. I use MAC Microsoft!
Question: 07
You want to create a link for your website allowing users to email the webmaster. How will you implement
this if the webmasters email address is webmaster@xcompany.com?
a. <a href=mailto:webmaster@xcompany.com>webmaster</a>
b. <a href=webmaster@xcompany.com>webmaster</a>
c. <a http=mail:webmaster@xcompany.com>webmaster</a>
d. <mail http=send:webmaster@xcompany.com>webmaster</mail>
Question: 08
In HTML 5.0, how will the script be executed if you use the script element shown below?
<script src=script.js type=text/javascript defer=defer></script>
a. The script is fetched and executed immediately, before the user agent continues parsing the page.
b. The script will be executed when the page has finished parsing.
Which of the following values would be passed on by clicking the submit button on selecting Item 2 from
the list?
a. 89
b. 90
c. Item 1
d. Item 2
Question: 29
Which of the following would give a yellow background to the web page?
Note: The code used in the correct answer below was deprecated in HTML 4.01! Use styles instead for
new code.
a. <body backcolor=Yellow>
b. <body background=Yellow>
c. <body bgcolor=Yellow>
d. <body color=Yellow>
Question: 30
What is the function of onobsolete, an application cache API method in HTML 5.0?
a. It reflows the HTML document using updated cached content.
b. It triggers an event when the cache content has been marked as obsolete.
c. It triggers an event when the cache content has been updated.
d. It updates the cache for the current document in the background.
Question: 31
Which of the following represents INVALID syntax for defining an attribute value in an HTML 5.0
document?
a. <input name =be evil />
b.
c.
d.
autoplay
disabled
preload