Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which method removes an element from the normal document flow?

  1. A position: relative
  2. B position: absolute
  3. C margin: auto
  4. D display: block
Answer

position: absolute

Absolute and fixed positioning remove the element from flow so it occupies no space. Relative positioning keeps the original space reserved.

All Front end Development MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as