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

Need help in file search engine crawler, Need help in File search engine cr...

Need help in File search engine crawler Want a web crawler to gather data on an continuous basis from different file hosting services and filter it. 1) Data will be used to p

Need a wordpress theme developer, Need Wordpress theme Developer I want...

Need Wordpress theme Developer I want Wordpress developer Who can convert my Html, Javascript Site In to Wordpress Theme. Its Urgent Work And want it as soon as possible. This i

Network layer of osi model, This layer is responsible for routing a packet ...

This layer is responsible for routing a packet in the subnet i.e., from source to destination nodes across multiple nodes in the similar network or across multiple networks. This l

We need new responsive website, We need New Responsive Website (Wordpress "...

We need New Responsive Website (Wordpress "X - Ultimate Theme" Preferred) I would need a website designed for Hazelgrovehomes.com. The determination of the website is primarily

Create the rollover image for navigation buttons, 1. In the Document window...

1. In the Document window, click on the second navigation button cell; then in the Common category of the Objects panel, click on the Insert Rollover Image icon. 2. Within the I

We need help in the development of a peer lending website, Bitcoin Peer Len...

Bitcoin Peer Lending Website We look for the development of a peer lending website. Qualified candidates will receive a full spec, thus that that they can refine their bid of

Presentation layer - osi model layer, Presentation layer: While two hosts ...

Presentation layer: While two hosts are communicating with each other they might employ distinct coding standards & character sets for internally representing data. This layer is

I need help in styling live xml feed, I need help in Styling Live XML Feed ...

I need help in Styling Live XML Feed Need the reordering and styling of a short (dynamic) xml feed. The results are to be displayed within an external webpage. Additional wor

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

Database, how to inset image into database

how to inset image into database

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