Submodule 9.3: Form validation

3. Enriching HTML validation

We have added the attribute minlength="4" in the input="text" and the "textarea" fields.

HTML validates this value.

Exercise

  1. Open the file exersice09.2.html in your editor and save it as exersice09.3.03.htmlin the folder "Exercises".
  2. Add the attribute minlength="4" in the input="text" and the "textarea" fields.
  3. Save the file and preview it in your browser. Experiment with the validation.