HTML

HTML Forms and Inputs

Inputs, labels, validation and what actually happens when a form is submitted.

15 articles Last updated 02 Jul 2026

Forms and Inputs Articles

Accessible Form Error Messages

An error message in red text beside a field is invisible to a screen reader and to anyone who cannot distinguish the colour. Three attributes fix that.

By Coding Tutorials Team 24 Jun 2026

File Uploads in HTML Forms

A file input needs one attribute on the form to work at all, and omitting it produces a failure that gives no error message.

By Coding Tutorials Team 24 Jun 2026

Why Client-Side Validation Is Not Security

Everything in the browser is under the control of the person using it. Attributes can be deleted, hidden values edited, and requests sent without your form at all.

By Coding Tutorials Team 24 Jun 2026