The attribute capture="environment" on a file input:

  1. Captures GPS location
  2. Saves form data
  3. Opens the rear camera directly on mobile devices
  4. Records the screen
Answer

C) Opens the rear camera directly on mobile devices

On phones it asks the browser to open the back camera for capturing an image.

Computer Science MCQ · More HTML5 for Mobiles MCQs · Practise