Explore topic-wise MCQs in Html.

This section includes 38 Mcqs, each offering curated multiple-choice questions to sharpen your Html knowledge and support exam preparation. Choose a topic below to get started.

1.

does not include the attribute ___________

A. id
B. hidden
C. lang
D. src
Answer» E.
2.

What is Modernizr?

A. CSS style sheet
B. JavaScript Library
C. The source code of a web page
D. PHP file
Answer» C. The source code of a web page
3.

The features that can’t be detected by checking idle are checked by ____________

A. Modernizr.prefixedCSS
B. Modernizr.testAllProps
C. Modernizr.testStyles
D. Modernizr.testProp
Answer» D. Modernizr.testProp
4.

What is the maximum cache size for Chrome?

A. unlimited
B. 300 MB
C. 400 MB
D. 1024 MB
Answer» C. 400 MB
5.

What is hotlink protection?

A. stopping other sites from displaying images
B. stopping other sites from displaying videos
C. stopping access of source code
D. compresses an image
Answer» B. stopping other sites from displaying videos
6.

What is the work of Gzip compression?

A. compresses an image
B. compresses web pages only
C. compresses JavaScript and CSS code only
D. compresses web pages, JavaScript and CSS
Answer» E.
7.

404 HTTP error is generated due to ____________

A. missing JavaScript file
B. any missing file
C. slow loading of the web page
D. on removing the newline character
Answer» C. slow loading of the web page
8.

Which of the following is not possible compression value?

A. identity
B. deflate
C. compress
D. DNS
Answer» E.
9.

For checking programmatically we use _________

A. Modernizr.mq
B. Modernizr.prefixed
C. Modernizr._prefixes
D. Modernizr.testAllProps
Answer» B. Modernizr.prefixed
10.

For best speed position of CSS code should be at __________

A. at the bottom of the code
B. at the middle of the code
C. at the top of the code
D. anywhere in the code
Answer» D. anywhere in the code
11.

Which browser does not support element?

A. Chrome
B. Firefox
C. Internet Explorer
D. Opera
Answer» D. Opera
12.

How many MPMs can be loaded at a time?

A. 3
B. 1
C. 4
D. 0
Answer» C. 4
13.

For sequential scans of tables we use ____________

A. read_buffer_size
B. join_buffer_size
C. read_rnd_buffer_size
D. sort_buffer_size
Answer» B. join_buffer_size
14.

Which command controls the maximum number of tables that the cache can hold?

A. table_open_cache
B. table_definition_cache
C. open_files_limit
D. read_buffer_size
Answer» B. table_definition_cache
15.

Which of the following is not a kind of MySQL backup?

A. File backups
B. CSV backups
C. SQL backups
D. Table backups
Answer» E.
16.

Which of the following is the final method to create MySQL backups?

A. LVM snapshots
B. SQL backups
C. CSV backups
D. File backups
Answer» B. SQL backups
17.

Which of the following is not MySQL Forks?

A. MariaDB
B. OurDelta
C. Drizzle
D. Sphinx
Answer» E.
18.

Which of the following locking method does not supported by APC?

A. File locks
B. Spin locks
C. Dead locks
D. IPC semaphores
Answer» D. IPC semaphores
19.

Which of the following is not the class of NoSQL?

A. Document stores
B. Multidimension stores
C. Key-value stores
D. Memcache
Answer» E.
20.

What is the size of PHP Module extension mysql.so?

A. 35 KB
B. 42 KB
C. 15 KB
D. 107 KB
Answer» C. 15 KB
21.

Gzip is not fully supported by ___________

A. Netscape 4.60+
B. Firefox
C. Netscape 6+
D. IE 4+
Answer» B. Firefox
22.

What is the URL Encode for tab character?

A. %09
B. %08
C. %0d
D. %0a
Answer» B. %08
23.

Which version of web worker is introduced in Internet Explorer?

A. Version 3.5
B. Version 10.6
C. Version 10.0
D. Version 4.0
Answer» D. Version 4.0
24.

Which of the following is not encode by encodeURI() function?

A. >
B. [
C. \
D. :
Answer» E.
25.

What is URL encode of ‘&’?

A. %24
B. %2c
C. %3d
D. %26
Answer» E.
26.

What is the URL Encode for the character ‘M’?

A. %47
B. %4A
C. %4D
D. %50
Answer» D. %50
27.

Which of the following is used to decode the encoded URI?

A. encodeURI()
B. encodeURIComponent()
C. decodeURI()
D. Server.URLEncode()
Answer» D. Server.URLEncode()
28.

Sprites are _____________

A. 1-D images
B. 2-D images
C. 3-D images
D. not the image
Answer» C. 3-D images
29.

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

A. TOO_LARGE_ERR
B. UNKNOWN_ERR
C. TIMEOUT_ERR
D. QUOTA_ERR
Answer» B. UNKNOWN_ERR
30.

What is the required argument to openDatabase?

A. version number
B. database name
C. size of a database
D. text description
Answer» B. database name
31.

Number of rows is returned by the attribute __________

A. insertIID
B. rows
C. rowsAffected
D. length
Answer» D. length
32.

insertId attribute returns ____________

A. column ID
B. row ID
C. user’s ID
D. database ID
Answer» C. user’s ID
33.

Templates can’t be placed inside ______________

A. <head>
B. <body>
C. <table>
D. <form>
Answer» E.
34.

The .content property is __________

A. read-only
B. write-only
C. read-write
D. hidden
Answer» B. write-only
35.

Which of the following is internal list of prefixes?

A. Modernizr._prefixes
B. Modernizr.prefixedCSS value
C. Modernizr.prefixedCSS
D. Modernizr.prefixed
Answer» B. Modernizr.prefixedCSS value
36.

For testing prefixed CSS properties we use _____________

A. Modernizr.prefixed
B. Modernizr.prefixedCSS
C. Modernizr._prefixes
D. Modernizr.prefixedCSS value
Answer» E.
37.

For caption of the image we use ____________

A. <figure>
B. <src>
C. <alt>
D. <title>
Answer» B. <src>
38.

Which format can create the transparent image?

A. PNG
B. GIF
C. JPG
D. SVG
Answer» B. GIF