Explore topic-wise MCQs in Html.

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

51.

Which of the following is a container to enhance input by adding an icon?

A. .input-group
B. .input-group-btn
C. .input-group-lg
D. .input-group-addon
E. None of these
Answer» B. .input-group-btn
52.

Which of the following forces an element to be hidden?

A. .icon-bar
B. .hidden
C. .hidden-*
D. .hide
E. None of these
Answer» C. .hidden-*
53.

Which of the following adds plain text next to form label?

A. .form-control
B. .form-inline
C. .form-group
D. .form-control-static
E. None of these
Answer» E. None of these
54.

Which shapes an image to a thumbnail?

A. .img-thumbnail
B. .img-rounded
C. .img-responsive
D. .img-circle
E. None of these
Answer» B. .img-rounded
55.

Which of the following are the fades in a tab?

A. .initialism
B. .icon-prev
C. .in
D. .info
E. None of these
Answer» D. .info
56.

Which of the following adds checkmark icon inside input?

A. .has-success
B. .has-feedback
C. .has-warning
D. .help-block
E. None of these
Answer» D. .help-block
57.

Which is used on a

A. .navbar-right
B. .navbar-toggle
C. .navbar-nav
D. .navbar-static-top
E. None of these
Answer» D. .navbar-static-top
58.

Which of the following aligns .pager previous button to left?

A. .pager
B. .next
C. .previous
D. .disabled
E. None of these
Answer» D. .disabled
59.

Which of the following occurs after fixed positioned is added to the element?

A. affix-top.bs.affix
B. affixed-top.bs.affix
C. affixed.bs.affix
D. affix.bs.affix
E. None of these
Answer» D. affix.bs.affix
60.

Which class indicates new or unread items?

A. .label label-success
B. .pager
C. .badge
D. .jumbortron
E. None of these
Answer» D. .jumbortron
61.

Which of the following allows an element to lock to an area on the page?

A. popover
B. tooltip
C. affix
D. alert
E. None of these
Answer» D. alert
62.

How many glyphs does bootstrap include?

A. 260
B. 100
C. 360
D. 369
E. None of these
Answer» B. 100
63.

The default value for an interval is __________.

A. 5000
B. 4000
C. 2390
D. 1000
E. None of these
Answer» B. 4000
64.

What activates the collapsible element with an option?

A. .collapse( toggle)
B. .collapse( hide )
C. .collapse( show )
D. .collapse( options )
E. None of these
Answer» E. None of these
65.

What appends the popover to specific elements?

A. placement
B. delay
C. content
D. container
E. None of these
Answer» E. None of these
66.

Which of the following fades the model in and out?

A. .modal-sm
B. .modal-content
C. .moal-lg
D. .fade
E. None of these
Answer» E. None of these
67.

Which event occurs when collapsible element is fully shown?

A. shown.bs.collapse
B. show.bs.collapse
C. hide.bs.collapse
D. hidden.bs.collapse
E. None of these
Answer» B. show.bs.collapse
68.

What adds slides to carousel?

A. .item
B. .carousel-inner
C. .carousel
D. .carousel-inner
E. None of these
Answer» E. None of these
69.

Progress bars are not supported in ______________.

A. Opera
B. Internet Explorer 9
C. Internet Explorer 10
D. Chrome
E. None of these
Answer» D. Chrome
70.

What is bootstrap s global default font-size?

A. 9px
B. 10px
C. 12px
D. 14px
E. None of these
Answer» E. None of these
71.

Which of the following makes the button appear pressed?

A. .disabled
B. .active
C. .btn-block
D. .btn-link
E. None of these
Answer» C. .btn-block
72.

Which of the following method will hide and destroy tooltip?

A. .tooltip( destroy )
B. .tooltip(options)
C. .tooltip( toggle )
D. .tooltip( hide )
E. None of these
Answer» B. .tooltip(options)
73.

What is the default value of offset?

A. 10
B. 20
C. 30
D. 40
E. None of these
Answer» B. 20
74.

What changes button text to the original text?

A. .button( string )
B. .button( reset )
C. .button( toggle )
D. .button( loading )
E. None of these
Answer» C. .button( toggle )
75.

Which element is used for inserting scrolling area of text?

A. <menuitem>
B. <multicol>
C. <marquee>
D. <menu>
E. None of these
Answer» D. <menu>
76.

What indicates a closable alert box?

A. .alert-success
B. .alert-link
C. .alert-danger
D. .alert-dismissible
E. None of these
Answer» E. None of these
77.

Which of the following specifies header text of popover?

A. placement
B. selector
C. trigger
D. title
E. None of these
Answer» B. selector
78.

What lines up the terms and descriptions in

A. .list-unstyled
B. .list-inline
C. .initialism
D. .dl-horizontal
E. None of these
Answer» E. None of these
79.

Which is not a container for embedded content?

A. .embed-responsive-item
B. .embed-responsive-4by3
C. .embed-responsive-16by9
D. .embed-responsive
E. None of these
Answer» B. .embed-responsive-4by3
80.

Which of the following creates toggleable tabs?

A. .table
B. .table-condensed
C. .tab-pane
D. .table-responsive
E. None of these
Answer» D. .table-responsive
81.

Which of the following indicates blue background color representing something important?

A. .bg-primary
B. .bg-danger
C. .bg-info
D. .bg-success
E. None of these
Answer» B. .bg-danger
82.

Which of the following will display red alert box?

A. .alert-link
B. .alert-info
C. .alert
D. .alert-danger
E. None of these
Answer» E. None of these
83.

Which plugin allows the element to become locked or sticky?

A. .alert
B. .alert-link
C. .affix
D. .active
E. None of these
Answer» D. .active
84.

Bootstrap does not use _________.

A. CSS
B. HTML
C. jQuery
D. PHP
E. None of these
Answer» E. None of these
85.

For style foundation Bootstrap uses ____________.

A. Resizer
B. Stylus
C. Sass
D. LESS
E. None of these
Answer» E. None of these
86.

What should be the set value of background-size property such that image will cover the entire content area?

A. contain
B. cover
C. 100%100%
D. 100%
E. None of these
Answer» C. 100%100%
87.

Which element facilitate generation of key material?

A. <keygen>
B. <isindex>
C. <marquee>
D. <listing>
E. None of these
Answer» B. <isindex>
88.

Which element puts a text field in a page for querying document?

A. <dir>
B. <command>
C. <keygen>
D. <isiindex>
E. none of these
Answer» E. none of these
89.

Which element is used as a container for a directory of files?

A. <command>
B. <content>
C. <dir>
D. <font>
E. None of these
Answer» D. <font>
90.

For inserting plain text we use __________.

A. .input-group-addon
B. .input-group-btn
C. .input-group
D. .form-control-static
E. None of these
Answer» E. None of these
91.

Which element represents a dialog box?

A. <summary>
B. <menu>
C. <menuitem>
D. <dialog>
E. None of these
Answer» E. None of these
92.

Which element shows completion progress of a task?

A. <option>
B. <meter>
C. <progress>
D. <select>
E. None of these
Answer» D. <select>
93.

Which element is not a scripting element?

A. <script>
B. <picture>
C. <canvas>
D. <noscript>
E. None of these
Answer» C. <canvas>
94.

Which element specifies multiple media resources?

A. <object>
B. <picture>
C. <source>
D. <param>
E. None of these
Answer» D. <param>
95.

Which element represents an external resource?

A. <picture>
B. <param>
C. <source>
D. <object>
E. None of these
Answer» E. None of these
96.

Which of the following is known as child of media elements?

A. <track>
B. <map>
C. <img>
D. <area>
E. None of these
Answer» B. <map>
97.

For testing we should use ________.

A. window.alert()
B. document.write()
C. innerHTML
D. console.log()
E. None of these
Answer» C. innerHTML
98.

For displaying data in JavaScript, we can t use ____________.

A. innerHTML
B. document.getElementById()
C. console.log()
D. document.write()
E. None of these
Answer» C. console.log()
99.

External scripts can t take the tag _________.

A. <title>
B. <h1>
C. <form>
D. <script>
E. None of these
Answer» E. None of these
100.

For converting string to array we can use ______________ method.

A. toLowerCase()
B. charAt()
C. charCodeAt()
D. split()
E. None of these
Answer» B. charAt()