which of the following statements is/are true?

Options
- Hiding an element can be done by setting the display property to "none"
- Hiding an element can be done by setting visibility property to "hidden"
- Both a and b
- Hiding an element can be done by setting block property to "hidden"


CORRECT ANSWER : Both a and b

Discussion Board
Explanation-

display: none; is commonly used with JavaScript to hide and show elements without deleting and recreating them.

Visibility: hidden; is used to visually hides elements.

Sapna 02-22-2017 02:03 AM

Not suggested usage for Accessability

I would not suggest having this as a question. I know it is debateable for what could be hidden however, if there is content. individuals that are using Universal Access devices will not be able to locate elements

Gregory F Phillips 11-9-2013 09:22 PM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement