Text Field of HTML form

<input type="text" name="Name" value="default_value">
Text fields are data entry fields which takes small amount of data from the user ( textarea is used for large data ). This is one of the most widely used control of a WebForm.
NameThis attribute specifies the name of the object through which it can be referenced.
ValueThis is used to specify the value of the text field.(optional)
SizeWidth of the text field.(optional)
MaxlengthUsed to specify the maximum number of characters that can be entered into the textbox.
Autocomplete New in HTML5Input element should have autocomplete .
autofocus New in HTML5Focus ( crusher inside ) the input text box by default .
placeholder New in HTML5Hint , help or about the input requirment can be given to user.
Keeping the cursor at textbox by default


<input type="text" name="txtbox" value="Simple Text">

This places a text field(single line text area) within the HTML form, which can be referenced by using its name "txtbox" and whose value is "Simple Text". Here is an example

How text box is managed by JQuery

TextArea to enter more text


Post your comments , suggestion , error , requirements etc here .

We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2021 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer