## HTMLInputElement.MaxLength property

Maximum number of characters for text fields, when `type` has the value "text" or "password". See the maxlength attribute definition in HTML 4.01.

```csharp
public int MaxLength { get; set; }
```

### See Also

* class [HTMLInputElement](../)
* namespace [Aspose.Html](../../../aspose.html/)
* assembly [Aspose.HTML](../../../)
