1.

Each property may also have a cascaded value of ___________ which means that, for a given element, the property takes the same specified value as the property for the element’s parent.(a) !important(b) delay(c) inherit(d) importantThis question was addressed to me in unit test.Query is from Document Structure and CSS Inheritance in section CSS Properties, Elements, Functions & Tables of CSS

Answer»

The correct choice is (c) INHERIT

The best I can explain: Each PROPERTY may also have a cascaded value of ‘inherit’, which means that, for a GIVEN ELEMENT, the property takes the same specified value as the property for the element’s parent. The ‘inherit’ value can be used to enforce INHERITANCE of values, and it can also be used on properties that are not normally inherited.



Discussion

No Comment Found

Related InterviewSolutions