FrontendDeveloper.in

HTML question detail

Why should form buttons set explicit `type`?

Without type, button defaults to submit in forms. Explicit type="button" avoids accidental form submissions.

Back to all HTML questions
Get LinkedIn Premium at Rs 399