Explore topic-wise InterviewSolutions in .

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

1.

Which is not the property of CSS box model?(a) width(b) height(c) margin(d) colorI have been asked this question by my college professor while I was bunking the class.The above asked question is from Appearance of Form Elements topic in section Lists, Tables and Forms of CSS

Answer»

Correct option is (d) color

Easiest EXPLANATION: CSS box model include HEIGHT, width, padding, margin and border. All text-fields have complete SUPPORT for every property related to CSS box model. BROWSER relies on SYSTEM default styles when displaying these widgets.

2.

Which is not a Mozilla value?(a) caret(b) resizer(c) listbox(d) scrollbarThis question was addressed to me by my school teacher while I was bunking the class.My doubt is from Appearance of Form Elements topic in division Lists, Tables and Forms of CSS

Answer»

Right choice is (a) caret

The best I can explain: Mozilla includes many values LIKE menulist, radio, SCROLLBAR, dialog, listbox, scrollbarbutton-down, scrollbar, resizer, checkbox, scrollbarbutton-up, separator, TOOLBAR, toolbox, statusbar, separator, toolbarbutton, window, treetwisty, TREEVIEW etc.

3.

Which is not a WebKit value?(a) push-button(b) menulist(c) radio(d) tooltipI had been asked this question in quiz.Asked question is from Appearance of Form Elements in division Lists, Tables and Forms of CSS

Answer»

The correct choice is (d) tooltip

To elaborate: WEBKIT includes various values LIKE CHECKBOX, button, button-level, menulist, scrollbarbutton-up, listitem, scrollbarbutton-left, CARET, textfield, TEXTAREA, searchfield, searchfield-decoration, slider-vertical, slider-horizontal, scrollbargripper-horizontal etc.

4.

Which of the following will provide date pickers?(a) jQuery UI(b) Niceforms(c) WebShim(d) Twitter BootstrapThis question was addressed to me during an interview.The above asked question is from Appearance of Form Elements topic in chapter Lists, Tables and Forms of CSS

Answer»

Correct choice is (a) jQuery UI

Best explanation: jQuery UI OFFERS some very interesting and advanced as well as customizable widgets like date pickers with special attention GIVEN to ACCESSIBILITY. Niceforms is a standalone JavaScript method that PROVIDES complete customization of WEB forms.

5.

Which of the following helps to deal with HTML5 support?(a) Twitter Bootstrap(b) WebShim(c) jQuery UI(d) NiceformsThe question was posed to me in final exam.This key question is from Appearance of Form Elements in portion Lists, Tables and Forms of CSS

Answer»

The correct CHOICE is (B) WebShim

Best explanation: WebShim is a big tool that can HELP with BROWSER HTML5 support, web form part can be very helpful. If you want to normalize forms Twitter BOOTSTRAP can greatly help.

6.

Which of the following is an extension to the common JavaScript framework?(a) Niceforms(b) Uni-forms(c) Formalize(d) jQuery UIThis question was posed to me in unit test.This key question is from Appearance of Form Elements in chapter Lists, Tables and Forms of CSS

Answer» RIGHT choice is (c) Formalize

For explanation: Formalize is an extension to common JAVASCRIPT frameworks like JQuery, Dojo, YUI etc., it helps to normalize and customize the forms. Uni-form STANDARDIZES form markup, styling it with CSS, it also offers a few additional features when USED with jQuery.
7.

Which is not a Mozilla CSS Extension?(a) ::-webkit-input-placeholder(b) :-moz-placeholder(c) –moz-ui-valid(d) :-moz-submit-invalidI had been asked this question in an interview for job.The question is from Appearance of Form Elements in section Lists, Tables and Forms of CSS

Answer» CORRECT option is (a) ::-WEBKIT-input-placeholder

To explain: Mozilla CSS Extensions include :-moz-placeholder, :-moz-ui-invalid, :moz-ui-valid, :moz-submit-invalid. ::-webkit-input-placeholder is Webkit CSS Extension, :-ms-input-placeholder is MICROSOFT CSS Extension.
8.

Which of the following is not the pseudo class for CSS Basic UI Level3?(a) :optional(b) :read-only(c) :valid(d) :checkedThis question was addressed to me in class test.I want to ask this question from Appearance of Form Elements in section Lists, Tables and Forms of CSS

Answer»

Correct option is (d) :checked

The explanation is: CSS Basic UI Level 3 has many pseudo-classes like :widget, :invalid, :VALID, :in-range, :REQUIRED, :read-write, :read-only, :OPTIONAL, :out-of-range. CSS Selector Level 3 has the classes :disabled, :enabled, :indeterminate, :checked.

9.

Which of the following will insert generated content in the counter?(a) content(b) counter-reset(c) counter-increment(d) counter()I have been asked this question in an online quiz.This question is from Appearance of Form Elements topic in section Lists, Tables and Forms of CSS

Answer»

The correct choice is (a) CONTENT

Explanation: content inserts generated content, COUNTER-reset creates or resets a counter, counter-increment increments the value of the counter, counter() function ADDS the value of a counter to an element.

10.

Which one can animate the width of search input when get focus?(a) focus(b) transition(c) outline(d) colorI had been asked this question during an interview.Question is taken from Appearance of Form Elements in portion Lists, Tables and Forms of CSS

Answer» CORRECT option is (B) transition

The explanation is: For animating the width of search input when it gets focus we used CSS transition PROPERTY,
11.

Which property is used to add space inside the text field?(a) padding(b) margin(c) number(d) passwordThis question was addressed to me in an interview for internship.My question comes from Appearance of Form Elements topic in chapter Lists, Tables and Forms of CSS

Answer»

Right option is (a) padding

The explanation is: Padding property is USED to add space inside the TEXT field, when we have MANY INPUTS after each other we can ALSO add some margin to add more space outside,