Question: 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.
Question: You want to create a link for your website allowing users to email the webmaster. How will you implement this if the webmaster’s email address is webmaster@xcompany.com?
Question: 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.
C
The script will be executed asynchronously, as soon as it is available.