Client-Side Validation

Browsers check HTML attributes such as required on their own; ASP.NET Core's validation scripts check your model's data annotations in the browser, from the data-val attributes the tag helpers write.

Updated

Cheat sheet: Client-Side Validation
Category
ASP.NET Core
Level
Apprentice
Tags
aspnet-core, Client-Side Validation, Constraint validation, html, required