1.

What is the default value of visibility?(a) visible(b) hidden(c) initial(d) inheritThis question was addressed to me in an international level competition.This interesting question is from Suppressing Element Display & Visibility, Image Replacement in section Layout & Images of CSS

Answer»

Correct CHOICE is (a) visible

To explain I would say: The default VALUE of visibility is visible, the element is visible. When set to hidden, the element is invisible but it STILL takes up space, initial sets the PROPERTY to its default value. INHERIT inherits this property from its parent element.



Discussion

No Comment Found

Related InterviewSolutions