Text box, PHP Web Programming

Assignment Help:

The <INPUT> tag is used to specify where user input is expected.  It has distinct attributes, of which the TYPE attribute is used to indicate the kind of input i.e. to be provided. The most common value of this attribute of the <INPUT> tag is TEXT. As illustrated in Figure every INPUT require a NAME. While the user types in his address (for instance 1234 ABC), this will become the input's value & be paired with NAME thus the end result after running it through the Mailto Formatter will be ADDRESS=1234 ABC.

We can, if we wish, type in a VALUE.

<INPUT TYPE=TEXT NAME="ADDRESS" VALUE="44 XYZ">

This will pair the value 44 XYZ with the name ADDRESS automatically, unless the user alters it. Take care to employ quotes as specified in the instance.

We can indicate the size of the text input box.

<INPUT TYPE=TEXT NAME="ADDRESS" VALUE="44 XYZ" SIZE=10>

The default value is twenty. You already know that the default value is the value which the browser supposes if you have not told it otherwise.

Go ahead & remove VALUE="44 XYZ".

If we wish, we can indicate how several characters a user can input.

Experiment with this and attempt to input more than ten characters! The MAXLENGTH attribute is used to limit the number of characters to be entered in the textbox.

<INPUT TYPE=TEXT NAME="ADDRESS" SIZE=20 MAXLENGTH=10>

Alike to the TYPE=TEXT is the TYPE=PASSWORD. It is exactly the identical, except that for security it displays *** rather than the actual input. The text entered like a password would not be echoed on the page.  Thus you can employ this whenever you wish to accept a password or some other sensitive information from the user.

<INPUT TYPE=PASSWORD>

Remember that each <INPUT> should have a NAME which gives the name of the field.

<INPUT TYPE=PASSWORD NAME="USER PASSWORD">

The VALUE, SIZE and MAXLENGTH attribute work here also just as they do along TEXT


Related Discussions:- Text box

Java web base, whats the cost of doing a java web base project

whats the cost of doing a java web base project

Define a style rule, Define a style rule that defines a font-family, font t...

Define a style rule that defines a font-family, font text color, font-size, and background color for the textarea. The style rules can be placed in a style element in the head of

Review business needs and completed designs, SEO skills are of paramount im...

SEO skills are of paramount important and expertise in HTML, CSS, Wordpress are critical. Our designs will be provided, we simply require a team to help code the site and employ th

We need to fix broken links in wordpress, We Need to fix broken links in Wo...

We Need to fix broken links in WordPress Looking to wordpress expert for fix links errors. I found it in mysite on wordpress afterward scanned Xenu program. Desired Skills ar

Text-only web browsers, Text-only browsers: A text-only browser like Ly...

Text-only browsers: A text-only browser like Lynx let you to view Web pages without showing art or page structure. Fundamentally, you look at ASCII text onto a screen. The bene

File menu in dreamweaver, File Menu: Under it we have New, Save as, Save, S...

File Menu: Under it we have New, Save as, Save, Save as template, Export, Import, Preview in browser so on options. Edit Menu: In this menu we have Copy,  Cut, Paste, Redo, Undo

A skilled amazon api is required, A skilled Amazon API is required We ha...

A skilled Amazon API is required We have a website where we significance products from an ecommerce site as well as pushing the products to ebay as well as getting sales reports

Need help -real estate website and mobile apps ios & android, Real Estate W...

Real Estate Website and Mobile apps(iOS & Android) High Level Project Description I am seeking to create user friendly mobile responsive Real Estate website as well as Mobile

Working in dreamweaver, Now let us start our journey into the realm of Drea...

Now let us start our journey into the realm of Dreamweaver. We start with typing in few test lines in our Design view. See how our work area has been divided in two windows, one di

Classification of networks, There are distinct approaches to the classifica...

There are distinct approaches to the classification of computer Networks. One such classification is depends on the distance approach. In this section we will learn such networks.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd