CodeZettaInterview Hub

HTML · Forms · Senior · Scenario

How should file inputs be labeled and constrained?

Short Interview Answer

Visible label, accept for hints, server-side validation always; multiple when needed.

Detailed Explanation

accept is not security. Show selected filenames. Consider drag-drop as enhancement only.

Did you know this answer?