HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML maxlength Attribute

HTML maxlength Attribute



The maxlength attribute is used to define the maximum number of characters allowed in the element.


Used With:-


Elements Attribute
input maxlength
textarea maxlength




Its syntax is:- < element maxlength="value" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML