<!DOCTYPE html>
<html>
<body>
<p>The Max length of the text box below is then characters.</p>
<form runat="server">
<asp:TextBox id="tb1" MaxLength="10" Text="Name" runat="server" />
</form>
</body>
</html>