Html miscellaneous


  1. Sprites are not used for _________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    If there are so many small icons, images, buttons etc. on the web page it will take more time to load the web page. Hence image sprites are used, it combines small images in one and loading time is reduced. This also reduces the HTTP request.


  1. Sprites are _____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    2-D images are sprites. Sprite is a big image which is made up of combining small images into one larger image. It is defined by X and Y coordinates. CSS background-position property is used to define the exact position that is to be displayed.



  1. Which attribute is used for getting an individual row?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    For getting individual row results.rows.item(i) is used, i denotes the index of the row. It will return the object representation of the row. insertId returns row id but in case of multiple rows, it returns the id of the last row.


  1. What is the required argument to openDatabase?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The required argument to openDatabase is version number. So it is mandatory that you should know the version number before we try to open the database. If we do not pass this argument then an exception is thrown.



  1. Which of the error is raised when the quantity of data is too much?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    When the quantity of the data returned from the database is very large then TOO_LARGE_ERR is invoked. To minimize the data we can use SQL “LIMIT” i.e. modifier to reduce the size of the resultant set.