Source Code:
<!DOCTYPE html>
<html>
<head>
<title>Text Fields</title>
</head>
<body>
<b>Text Field:</b><br/>
<p>
<input type= "text" name="textfield" size= "30">
</p>
</body>
</html>
The Size option denoted the width of the field. the maxlength option denoted the maximum length of the field like "30" is an example of the maxlength.
The Name setting add an internal name to the fields so the program that handles the form can identify the fields.
Output:
This output of the text field code. Now you can try by your own.
thats cool!! i will use this to my practicing a web design.
ReplyDeletereally!! i hope you will continue reading my blog and i will also continue making a new topic.
ReplyDeletethanks RJ..