Home / CSE / HTML- CS :: HTML Fonts, Tags and Elements

CSE :: HTML- CS

  1. Which of the following property is common in all drag events?

  2. A.

     drag effects

    B.

     drag data

    C.

     dataTransfer

    D.

     dragenter


  3. _____________ in textboxes and selections on web pages is done automatically, so you do not need to handle dragging yourself.

  4. A.

     Dragging HTML and XML

    B.

     Dragging Text

    C.

     Dragging Files

    D.

     Dragging Links


  5. Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.

  6. A.

     drop

    B.

     drag

    C.

     preventDefault

    D.

     dataTransfer


  7. Which of the following property is used to determine which drag operation was desired?

  8. A.

     dragend

    B.

     getData

    C.

     dropEffect

    D.

     captureData


  9. ______________ 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.

  10. A.

     Dragging HTML and XML

    B.

     Dragging Text

    C.

     Dragging Files

    D.

     Dragging Links


  11. A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped.

  12. A.

     True

    B.

     False


  13. _____________ and elements in a document may be dragged using the application/x-moz-node type.

  14. A.

     Dragging HTML and XML

    B.

     Dragging Text

    C.

     Dragging Nodes

    D.

     None of the mentioned


  15. The tag which allows you to nest other HTML tags within the description
    1. <CAPTION>
    2. <TD>
    3. <TR>

  16. A.

     Option 1

    B.

     Option 2

    C.

     Option 3

    D.

     None of the above


  17. The first tag inside <TABLE> tag is
    1. <HEAD>
    2. <CAPTION>
    3. <TH>
    4. <TD>

  18. A.

     Option 1

    B.

     Option 2

    C.

     Option 3

    D.

     Option 4


  19. Which tag will you add to specify a font for your whole page ?
    1. <defaultfont>
    2. <targetfont>
    3. <basefont>
    4. <font>

  20. A.

     Option 1

    B.

     Option 2

    C.

     Option 3

    D.

     Option 4