<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TextBox</title>
</head>
<body>
<input type="text" value="12345" size="5" maxlength="3">
</body>
</html>
Output:-12345
Definition:-
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TextBox</title>
</head>
<body>
<input type="text" value="12345" size="5" maxlength="3">
</body>
</html>
Output:-12345
Definition:-
Textbox
To define textbox
- Text box is used to get the input from user.
- It is defined using input element and the type of text to be mentioned.
- Its attributes are size, maxlength, value, type and etc.
Html:- Textbox tag
Reviewed by Network security
on
April 29, 2019
Rating:
No comments: