1. Question: Which form event is fired on the click of a button using a button tag with its type attribute value equal to submit?

    A
    onload

    B
    onsubmit

    C
    onunload

    D
    onreset

    Note: Not available
    1. Report
  2. Question: How will you return a reference to the parent of the current window or subframe in an HTML 5.0 web application?

    A
    window.top

    B
    window.parent

    C
    window.frameElement

    D
    None of the above

    Note: Not available
    1. Report
  3. Question: In HTML 5.0, which of the following is NOT a valid value for the type attribute when used with the <command> tag shown below? <command type=”?”>Click Me!</command>

    A
    button

    B
    command

    C
    checkbox

    D
    radio

    Note: Not available
    1. Report
  4. Question: What is the default background color for the canvas element in HTML 5.0?

    A
    Black

    B
    White

    C
    Transparent

    D
    Gray

    Note: Not available
    1. Report
  5. Question: Which of the following languages will you use to paint the graphics designed using the HTML 5.0 <canvas> tag?

    A
    VB script

    B
    JavaScript

    C
    PostScript

    D
    None of the above

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

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

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

    Note: Not available
    1. Report
  9. Question: Which of the following represents INVALID syntax for defining an attribute value in an HTML 5.0 document?

    A
    <input name =’be evil’ />

    B
    <input name=be evil />

    C
    <input name = “be-evil” />

    D
    All of the above.

    Note: Not available
    1. Report
  10. Question: Consider the above code. What will be the impact upon the contents of the element if both the style sheets define the same class? This question is based upon the figure shown below:

    A
    The contents of the element will be of red color and will inherit all the effects of style.css.

    B
    The contents of the element will be of blue color and will inherit all the effects of style1.css.

    C
    The contents of the element will be of white color and will inherit all the effects of style.css and style1.css.

    D
    None of the style effects will be applied to the contents of the element.

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