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

    D
    All of the above

    Note: Not available
    1. Report
  2. Question: 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 [ins]Microsoft[/ins] !

    C
    I use MAC [ins]Microsoft[/ins] !

    D
    I use MAC Microsoft!

    Note: Not available
    1. Report
  3. 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?

    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>

    Note: Not available
    1. Report
  4. 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.

    Note: Not available
    1. Report
  5. Question: What is the output when you use the HTML 5.0 code snippet shown below? <body onload=”alert(this)”>

    A
    It will alert saying “[object HTMLBodyElement]” when the document is loaded.

    B
    It will alert saying “[object Window]” when the document is loaded.

    C
    It will alert saying “[this]” when the document is loaded.

    D
    The alert message is not properly defined in the body element and an error will be generated when the document is loaded.

    Note: Not available
    1. Report
  6. Question: A computer programming book has to go online. Which of the following tags is ideal for displaying the program snippets?

    A
    <emp>

    B
    <code>

    C
    <dfn>

    D
    <cite>

    Note: Not available
    1. Report
  7. Question: How will you bind the datalist option (shown below) with an <input> element, whose type attribute is set to url, to get the result shown in the image? This question is based upon the figure shown below:

    A
    User should define an accept attribute to the input element whose type is url.

    B
    User should define multiple attribute to the input element whose type is url.

    C
    User should define a list attribute to the input element whose type is url.

    D
    User should define a placeholder attribute to the input element whose type is url.

    Note: Not available
    1. Report
  8. Question: How does a button created by the <button> tag differ from the one created by an <input> tag?

    A
    An input tag button can be a reset button too.

    B
    A button tag button can be a reset button too.

    C
    An input tag button can include images as well.

    D
    A button tag can include images as well.

    Note: Not available
    1. Report
  9. Question: Which of the following attributes comes in handy when borders have to be put between groups of columns instead of every column?

    A
    col

    B
    colgroup

    C
    rowspan

    D
    row

    Note: Not available
    1. Report
  10. Question: Which of the following is correct with regard to the oncanplaythrough event fired by media resources in the HTML 5.0 document?

    A
    The script will run when the media has reached the end.

    B
    The script will run when the media is played to the end, without stopping for buffering.

    C
    The script will run when media data is loaded.

    D
    The script will run when the length of the media is changed.

    Note: Not available
    1. Report
Copyright © 2025. Powered by Intellect Software Ltd