HTML MCQ (Multiple Choice Questions) - SchoolingAxis

HTML MCQ (Multiple Choice Questions)

 Que- Which attribute is not used for the radio type? 

a. name 

b. value 

c. checked 

d. selected 


Answer- selected


Que- Which attribute is used with <select> element? 

a. multiple 

b. selected 

c. name 

d. value 


Answer- multiple


Que- Before HTML5 where data had to be stored? 

a. cookies 

b. browser 

c. only in Internet Explorer 

d. only in Chrome 


Answer- cookies


Que- In localStorage object data ________ 

a. is deleted after the browser has been closed 

b. is not deleted after the browser has been closed 

c. can be seen but can not edit 

d. can be seen as well as edit 


Answer- is not deleted after the browser has been closed


Que- In sessionStorage object data __________ 

a. is not deleted after the browser has been closed 

b. can be seen but can’t edit 

c. can be seen as well as edit 

d. is deleted after the browser has been closed 


Answer- is deleted after the browser has been closed


Que- What is the limit of character storage for chrome 23.0 in localStorage? 

a. unlimited 

b. none 

c. 1021 k 

d. 4.98 M 


Answer- none


Que- What is the limit of character storage for chrome 23.0 in sessionStorage? 

a. 510 k 

b. unlimited 

c. 1021 k 

d. 2.49 M 


Answer- 510 k


Que- Which of the following is not a web storage interface? 

a. storage 

b. window 

c. storageEvent 

d. privacy 


Answer- privacy


Que- Which of the following returns a number of value pairs? 

a. storage.key(n) 

b. storage.length 

c. storage.setItem(key,value) 

d. storage.clear() 


Answer- storage.length


Que- Which of the following is invoked when it is not fired on window object? 

a. removeItem() 

b. clear() 

c. setItem() 

d. getItem() 


Answer- getItem()


Que- Which of the following is not the storageEvent interface? 

a. event.newValue 

b. event.url 

c. event.key 

d. event.clear 


Answer- event.clear


Que- For clearing all the settings which function should be called? 

a. localStorage.remove(key) 

b. localStorage.clear() 

c. localStorage.remove() 

d. localStorage.clearAll() 


Answer- localStorage.clear()


Que- Which of the following is not the form type for adding text? 

a. Text input 

b. Text area 

c. Password input 

d. Submit button 


Answer- Submit button


Que- In the processing of information, the server does not use the language _____ 

a. C# 

b. JAVA 

c. C++ 

d. VB.net 


Answer- C++


Que- For creating single line text box for searching queries, we use the type ___________ 

a. placeholder 

b. search 

c. url 

d. hidden 


Answer- search


Que- Form validation traditionally was performed by ___________ 

a. PHP 

b. HTML 

c. JavaScript 

d. jQuery 


Answer- JavaScript


Que- For grouping form controls we can use ___________ 

a. <legend> 

b. <fieldset> 

c. <label> 

d. <select> 


Answer- <fieldset>


Que- Which one has the most potential for minification? 

a. JavaScript 

b. CSS 

c. HTML 

d. PHP 


Answer- JavaScript


Que- YUI compressor is written in ____________ 

a. "HTML" 

b. "C++ 

c. "C" 

d. "Java" 


Answer- "Java"


Que- Which compressor gives maximum GZIPPED compression? 

a. YUI 

b. JSMin 

c. Packer 

d. Closure(advanced) 


Answer- YUI


Que- CSSMin is written in ___________ 

a. "C++" 

b. "Java" 

c. "PHP" 

d. "C" 


Answer- "Java"


Que- HTMLMinifier is written in ________ 

a. "JavaScript" 

b. "Java" 

c. "C++" 

d. "C" 


Answer- "JavaScript"


Que- Which option is not available in HTMLMinifier? 

a. remove attribute quotes 

b. use the short doctype 

c. remove empty elements 

d. replace <strong> with <b> 


Answer- replace <strong> with <b>


Que- Which of the following is not associated with web socket communication? 

a. https 

b. wss 

c. ws 

d. http 


Answer- http


Que- Which of the following is the wire protocol for WebScoket? 

a. RFC6455 

b. RFC6477 

c. RFC6567 

d. RFC8967 


Answer- RFC6455


Que- The maximum bytes for control frames is _______________ 

a. 100 bytes 

b. 125 bytes 

c. 130 bytes 

d. 150 bytes 


Answer- 125 bytes


Que- Which of the following is the server library for Node.js? 

a. Caddy 

b. SignalR 

c. ws 

d. jsonrpc 


Answer- ws


Que- In desktop which browser does not support WebSocket? 

a. Chrome version 7 

b. Chrome version 6 

c. Chrome version 43 

d. Internet Explorer 10 


Answer- Chrome version 7


Que- Which one is not associated with Gecko? 

a. Firefox 

b. SeaMonkey 

c. Thunderbird 

d. Internet Explorer 


Answer- Internet Explorer


Que- Messages from the server are received by ____ 

a. onmessage 

b. send 

c. arrayBuffer 

d. blob 


Answer- onmessage


Que- For duplex communication we can’t use ____________ 

a. Long Polling 

b. HTML5 

c. JavaScript 

d. Streaming 


Answer- JavaScript


Que- Which of the following is not the event of WebSocket API? 

a. Close 

b. Message 

c. Send 

d. Error 


Answer- Send


Que- Which one is not a very good developer support? 

a. Opera 

b. Internet Explorer 

c. Firefox 

d. Chrome 


Answer- Internet Explorer


Que- Which attribute specifies a unique alphanumeric identifier to be associated with an element? 

a. class 

b. id 

c. article 

d. html 


Answer- id


Que- The _____________ attribute specifies an inline style associated with an element, which determines the rendering of the affected element. 

a. dir 

b. style 

c. class 

d. article 


Answer- style


Que- Which attribute is used to provide an advisory text about an element or its contents? 

a. tooltip 

b. dir 

c. title 

d. head 


Answer- title


Que- The __________ attribute sets the text direction as related to the lang attribute. 

a. lang 

b. sub 

c. dir 

d. ds 


Answer- dir


Que- Which of the following is the attribute that specifies the column name from the data source object that supplies the bound data? 

a. dataFormatAs 

b. datafld 

c. disabled 

d. datasrc 


Answer- datafld


Que- Which of the following is the attribute that indicates the name of the data source object that supplies the data that is bound to this element? 

a. dataFormatAs 

b. datafld 

c. disabled 

d. datasrc 


Answer- datasrc


Que- Which of the following is the attribute that specifies additional horizontal space, in pixels, to be reserved on either side of an embedded item like an iframe, applet, image, and so on? 

a. height 

b. hspace 

c. hidefocus 

d. datasrc 


Answer- hspace


Que- The accesskey attribute specifies a keyboard navigation accelerator for the element. 

a. TRUE 

b. FALSE 

c. Nothing Can be Said 

d. None of the mentioned 


Answer- TRUE

Previous Post Next Post