HTML MCQ (Multiple Choice Questions) - SchoolingAxis

HTML MCQ (Multiple Choice Questions)

 Que- Which property is used to detect the browser’s user agent and code based on the pertinent cases? 

a. navigator.userAgent 

b. navigator.user 

c. navigator 

d. return 


Answer- navigator.userAgent


Que- Some users have requested tests for IE’s float double margin bug, and support for position:fixed. Which API is suitable for them? 

a. mq() media Plugin API 

b. addTest() Plugin API 

c. testAllProps() Plugin API 

d. none of the mentioned 


Answer- addTest() Plugin API


Que- ___________ is an open source JavaScript library that allows support for different levels of experiences based on the capabilities of each browser. 

a. Navigator 

b. Modernizr 

c. Geolocation 

d. Google API 


Answer- Modernizr


Que- ____________ allows you to add custom styles to the document and test an element afterwards. 

a. hasEvent() 

b. testAllProps() 

c. testProp() 

d. modernizr.testStyles() 


Answer- modernizr.testStyles()


Que- Modernizr does actually add missing functionalities to browsers save for the HTML5 tags styling support. 

a. TRUE 

b. FALSE 

c. Nothing Can be Said 

d. None of the mentioned 


Answer- FALSE


Que- ___________ is used to test whether geolocation is supported in old browsers. 

a. Modernizr 

b. Modernizr.geolocation 

c. Navigator.userAgent 

d. Modernizr.js 


Answer- Navigator.userAgent


Que- ____________ is a resource loader (CSS and JavaScript) that was made to specifically to work side-by-side with Modernizr. 

a. HasEvent() 

b. Navigator.userAgent 

c. Modernizr.load 

d. Modernizer.geolocation 


Answer- Modernizr.load


Que- In case we want to implement a JavaScript fallback, we would need to create a conditional statement using Modernizr. 

a. TRUE 

b. FALSE 

c. Nothing Can be Said 

d. None of the mentioned 


Answer- TRUE


Que- Metadata store information about the web page that is not necessarily visible to end users. 

a. TRUE 

b. FALSE 

c. Nothing Can be Said 

d. None of the mentioned 


Answer- TRUE


Que- In which part of the HTML metadata is contained? 

a. body tag 

b. html tag 

c. head tag 

d. title tag 


Answer- head tag


Que- Which of the following is not a function of robots meta tag? 

a. noindex 

b. nofollow 

c. norepeat 

d. noarchive 


Answer- norepeat


Que- What is the role of charset attribute? It specifies 

a. a scheme to be used to interpret the value of the content attribute 

b. a name for the metadata 

c. the character encoding for the HTML document 

d. the character decoding for the HTML document 


Answer- the character encoding for the HTML document


Que- __________ prevents the page from being indexed altogether. 

a. noarchive 

b. nofollow 

c. noindex 

d. novalue 


Answer- noindex


Que- Which of the following is not supported in HTML5? 

a. scheme 

b. content 

c. http-equiv 

d. name 


Answer- scheme


Que- ___________ prevents search engines from following links inside the page. 

a. noarchive 

b. nofollow 

c. noindex 

d. novalue 


Answer- nofollow


Que- Different meta tags are defined by changing the __________ attribute to a valid value. 

a. scheme 

b. content 

c. http-equiv 

d. name 


Answer- name


Que- __________ prevents search engines from showing a cached link for the page. 

a. nobot 

b. nofollow 

c. noarchive 

d. nosearch 


Answer- noarchive


Que- The value of the ___________ attribute refers to the time interval in seconds before the refresh is performed. 

a. scheme 

b. content 

c. http-equiv 

d. name 


Answer- content

Previous Post Next Post