Explore a little.C ProgrammingC++HTMLVisual BasicSystem AnalysisE-CommerceBCA Notes
LEARN SOMETHING NEW

How to put textbox in Html

Read4BCA learning libraryFree access

How to put textbox in Html

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.


Example:

<!DOCTYPE html>
<html>
<head>
<title>Textbox</title>
</head>

<body>
<input type="text" value="00008" size="5" maxlenght="3">
</body>
</html>

Output of this code will look like this:

How to put textbox in Html example

This lesson preserves the original Read4BCA material. Some programming examples use older tools and syntax. View original page.