Test Series - html

Test Number 72/72

Q: How many glyphs does bootstrap include?
A. 369
B. 360
C. 260
D. 100
Solution: Bootstrap includes 260 glyphs from Glyphicon Halflings set. They are normally not available for free, but their creator has made them available for Bootstrap free of cost.
Q: Which of the following allows an element to lock to an area on the page?
A. affix
B. alert
C. popover
D. tooltip
Solution: The affix plugin allows an element to become affixed (locked) to an area on the page. It is often used with navigation menus or social icon buttons, to make them “stick” to the specific area while scrolling up and down the page. An alert message box is created on window by alert element. popover box displays when user clicks on that element. Tootlip is popoup box which appears when user hovers the mouse pointer on it.
Q: Which of the following occurs after fixed positioned is added to the element?
A. affix.bs.affix
B. affixed.bs.affix
C. affix-top.bs.affix
D. affixed-top.bs.affix
Solution: affixed.bs.affix occurs after fixed positioning is added to the element e.g. after .affix-top class is replaced with .affix class, affix-bs.affix occurs before fixed positioning is added to the element e.g. when .affix-top class is to be replaced with .affix class. Affix-top-bs.affix occurs before top ekement return to its original place. Affixed-top-bs.affix occurs before top ekement return to its original place.
Q: What indicates a closable alert box?
A. .alert-danger
B. .alert-dismissible
C. .alert-link
D. .alert-success
Solution: .alert-dismissible indicates a closable alert box, together with .close class, this class is used to close the alert, adds extra padding, .alert-danger creates the red alert, indicates dangerous or potentially negative action. .alert-link is used on links inside alerts to give matching coloured links. .alert-success displays a green alert.
Q: Which of the following makes the button appear pressed?
A. .btn-link
B. .disabled
C. .active
D. .btn-block
Solution: .active makes the button appear pressed, .disabled makes button disabled, .btn-link makes the button look like a link, .btn-block makes a block-level button, spans the full width of the parent element.
Q: What changes button text to the original text?
A. .button(“loading”)
B. .button(“string”)
C. .button(“reset”)
D. .button(“toggle”)
Solution: button(“reset”) changes button text to original text if changed, .button(“toggle”) makes button look pressed, .button(“loading”) disables the button and changes the button text to “loading…” .button(“string”) specifies a new button.
Q: What adds slides to carousel?
A. .carousel
B. .carousel-inner
C. .item
D. .carousel-indicators
Solution: .carousel creates a slideshow. .carousel-inner is a container for slide items. .carousel-inner adds slides to the carousel, .item specifies the content of each slide, .carousel-indicators adds indicators for the carousel, these are little dots at bottom of each slide which indicates how many slides are there in the carousel and the slide which the user is currently viewing.
Q: The default value for an interval is __________
A. 4000
B. 5000
C. 1000
D. 2390
Solution: interval specifies the delay in milliseconds between each slide, we can set the interval to false to stop items from automatically sliding, its default value is 5000. The set value should be number or Boolean false.
Q: What activates the collapsible element with an option?
A. .collapse(“options”)
B. .collapse(“show”)
C. .collapse(“”toggle)
D. .collapse(“hide”)
Solution: .collapse(“options”) activates collapsible element with an option, .collapse(“toggle”) toggles collapsible element, .collapse(“show”) shows collapsible element, .collapse(“hide”) hides collapsible element.
Q: Which event occurs when collapsible element is fully shown?
A. show.bs.collapse
B. shown.bs.collapse
C. hidden.bs.collapse
D. hide.bs.collapse
Solution: shown.bs.collapse occurs when collapsible element is fully shown after CSS transitions have completed, show..bs.collapse occurs when collapsible element is about to be shown. hidden.bs.collapse occurs when collapsible element is fully hidden. .hide.bs.collapse occurs when collapsible element is about to be hidden.

You Have Score    /10