1<!DOCTYPE html>
2<html>
3 <head>
4 <title>HTML maxlength attribute</title>
5 </head>
6 <body>
7 <form action = "/cgi-bin/hello_get.cgi" method = "get">
8 Student Name:
9 <br>
10 <input type = "text" name = "first_name" value = "" maxlength = "40" />
11 <br>
12 Student Subject: <br>
13 <input type = "text" name = "last_name" value = "" maxlength = "30" />
14 <br>
15 <input type = "submit" value ="Submit" />
16 </form>
17 </body>
18</html>