Home / CSE MCQs / HTML MCQs :: HTML Fonts, Tags and Elements

CSE MCQs :: HTML MCQs

  1. Which of the following property is used to determine which drag operation was desired?
  2. A.
    dragend
    B.
    getData
    C.
    dropEffect
    D.
    captureData

  3. ______________ should include data of two types; the first should be the URL using the type text/uri-list, and the second is the URL using the text/plain type.
  4. A.
    Dragging HTML and XML
    B.
    Dragging Text
    C.
    Dragging Files
    D.
    Dragging Links

  5. The __________ begins with a series of parameter entity definitions.
  6. A.
    DTD
    B.
    SGML
    C.
    XML
    D.
    None of the mentioned

  7. The ______________ parameter identifies a character encoding, which is a method of converting a sequence of bytes into a sequence of characters.
  8. A.
    class
    B.
    element
    C.
    charset
    D.
    none of the mentioned

  9. Which of the following defines graphic drawing using JavaScript?
  10. A.
    class
    B.
    canvas
    C.
    graphics
    D.
    draw

  11. Which of the following elements in HTML5 defines video or movie content?
  12. A.
    media
    B.
    video
    C.
    movie
    D.
    audio

  13. When is the mouseout event fired?
  14. A.
    When mouse is no longer over an element
    B.
    When mouse is over an element
    C.
    When mouse is hovered
    D.
    None of the mentioned

  15. The focus and blur events are also part of
  16. A.
    Element events
    B.
    Handler events
    C.
    Window events
    D.
    Scroll events

  17. Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.
  18. A.
    drop
    B.
    drag
    C.
    preventDefault
    D.
    dataTransfer

  19. When is the mouseover event fired?
  20. A.
    When mouse is moved over a new element
    B.
    When mouse is clicked
    C.
    When mouse is both moved and clicked
    D.
    None of the mentioned