ASDV-WebDev/Semester 1/Chapter ZIPs/JavaScript/ch6/ex_6_7.html

14 lines
772 B
HTML

<html>
<head>
<title>Example 6.7</title>
</head>
<body>
<table width = 60% align = "center"><tr><td><br />
<h2> Enter the requested information</h2>
<p>This box uses the default values for size and maxlength and has no initial value: <br /><input type="text" name="fullname" id="fullname" ></p>
<p>This box is 30 spaces wide and limits the user to 25 characters in his or her name: <br /><input type="text" name="fullname" size = "30" maxlength = "25" id="fullname"></p>
<p>This box is 60 spaces wide, allows the user to enter up to 100 characters and shows an initial value of a name: <br /><input type="text" name="fullname" size = "60" maxlength = "100" id="fullname" value="Hermione Priscilla Throckmorton-Nabolonikoff" ></p>
</td></tr></table>
</body></html>