Html miscellaneous


  1. Which line is mandatory in cache manifest file?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    For offline access, there is a text file named cache manifest. It lists the resources of the browser. For enabling application cache for any app we must include manifest attribute inside an html tag of the document like <html manifest=”text.appcache”> this manifest should be included on every page that we want cached.


  1. Which of the following is not the benefit of cache application?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Application cache can be helpful in so many ways like we can browse offline, as the cached resources are at local level hence they load at faster speed, it also reduces the load of the server. Asynchronous is one of the problems with the use of application cache due to this the resources which are not required like JavaScript or images will also be downloaded.



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











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

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


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











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The dragover event is fired as the mouse is moving over an element when a drag is occurring. Much of the time, the operation that occurs during a listener will be the same as the dragenter event. When draggable element enters a drop target then dragenter event is occurred.



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











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Dragging Links 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.