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

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

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

    Note: Not available
    1. Report
  4. Question: Which of the following is an INVALID value for the type attribute of command tag?

    A
    checkbox

    B
    radio

    C
    command

    D
    text

    Note: Not available
    1. Report
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
Copyright © 2024. Powered by Intellect Software Ltd