CSS Portal
Run
Search
« Back to
HTML maxlength Attribute
<form action="formscript.php"> <label for="username">Username:</label><br> <input type="text" id="username" name="username" maxlength="20"> <br><br> <label for="comment">Comment:</label><br> <textarea id="comment" name="comment" maxlength="250"></textarea> <br><br> <button type="submit">Submit</button> </form>
If this site has been useful, we’d love your support! Running this site takes time and resources, and every small contribution helps us keep creating valuable content. Consider buying us a coffee to keep things going strong!
☕ Buy a Coffee