---
title: 'Attribut HTML : minlength'
slug: Web/HTML/Attributes/minlength
tags:
- Attribute
- Attributes
- Constraint validation
- HTML
- Input
- Reference
- minlength
- textarea
translation_of: Web/HTML/Attributes/minlength
---
{{HTMLSidebar}}
L'attribut **`minlength`** définit le nombre minimal de caractères (sous forme d'unités de code UTF-16) que l'utilisateur peut saisir dans un élément [``](/fr/docs/Web/HTML/Element/Input) ou [`