1. Question: You cannot place spaces, commas, or semicolons in cookie values.

    A
    True

    B
    False

    Note: Not available
    1. Report
  2. Question: Which of the following is not optional cookie attribute in JavaScript?

    A
    name

    B
    expires

    C
    path

    D
    domain

    E
    secure

    Note: Not available
    1. Report
  3. Question: Which is the correct way to create image object in JavaScript for the following <img> element? <img src="graphicsA.gif" />

    A
    document.image[0]

    B
    document.images[0]

    C
    window.image[0]

    D
    new Image()

    Note: Not available
    1. Report
  4. Question: 
    var w=open("","","scrollbars=0,width=200,height=100")
      var t=w.document;
    Which of the following statement is correct for the above code fragment?

    A
    w.write("Hello");

    B
    t.write("Hello");

    C
    window.write("Hello");

    D
    t.document.write("Hello");

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