1.

What indicates a closable alert box?(a) .alert-danger(b) .alert-dismissible(c) .alert-link(d) .alert-successThis question was posed to me in a national level competition.The doubt is from Responsive Overview in section Advance HTML of HTML

Answer»

The correct answer is (b) .ALERT-dismissible

Easy EXPLANATION: .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.



Discussion

No Comment Found

Related InterviewSolutions