🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Waits: all 10 questions

Quiz: Waits · Question 7 of 10

What is the difference between presence and visibility of an element?

What is the difference between presence and visibility of an element?

  1. A.Present means it exists in the HTML; visible means it exists and is shown on screen
  2. B.They are the same
  3. C.Visible means it exists in the HTML only
  4. D.Present means it is clickable
Answer & explanation

Correct answer: Present means it exists in the HTML; visible means it exists and is shown on screen

A hidden element can be present but not visible.

Can you get the rest right without peeking?

Take the timed Quiz: Waits quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →