Html miscellaneous
- Sprites are not used for _________.
-
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.
- Sprites are _____________.
-
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.
- Which attribute is used for getting an individual row?
-
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.
- What is the required argument to openDatabase?
-
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.
- Which of the error is raised when the quantity of data is too much?
-
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.