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 is the correct way to make a wide table responsive without breaking the page layout?

  1. A Set the table width to a fixed pixel value
  2. B Wrap it in a container with overflow-x: auto
  3. C Hide columns on mobile with display: none
  4. D Reduce the font size
Answer

Wrap it in a container with overflow-x: auto

The table scrolls within its own container, so the page body never scrolls horizontally. Hiding columns removes information from mobile users.

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