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

Preview of document in dreamweaver, You can't view rollover behavior within...

You can't view rollover behavior within Dreamweaver's Document window; rollover images work in a browser only. Though, you can preview the document within Dreamweaver to make out i

Need help to merge a plugin with a wordpress theme, Merge a plugin with a W...

Merge a plugin with a Wordpress theme I need to make plugins to work on theme as well I want to be able to use some of the extra plugins on the premium press theme. Desired S

I want help in website internal development, I want help in Website interna...

I want help in Website internal development, angular, grunt, javascript, html,css ninja JavaScript, css(scss), html, angularJS. Familiar with grunt build process understand t

I need help in wordpress to fix template theme luxe miinus, I need help in ...

I need help in Wordpress to fix template Theme Luxe Miinus I need changes made to the following pages a) Footer b) Development page, Projects Page, About Page - These are

Frame tag, As you can supposition, this tag is utilized for placing an HTML...

As you can supposition, this tag is utilized for placing an HTML file in the frame created. We have to now tell the browser what to put in each of frame. Check out the code for

I would like someone to move my current website, Move my GoDaddy Site to WP...

Move my GoDaddy Site to WP.org I would like someone to move my current website and blog content to WP.org. I love my current site pretty much as is. The merely reason I want

I need help in lynx fulfillment connection to magento, I need help in Lynx ...

I need help in Lynx Fulfillment Connection to Magento We have an online store that uses Lynx Fulfillment for order fulfillment. We want to change shopping carts to Magento as we

Adding xml files to html page, Step 1: Select File -> Import XML into Templ...

Step 1: Select File -> Import XML into Template Step 2: Choose the XML file & click Open While an XML file is imported, Dreamweaver merges the XML content in the Template

Create a code for implement database of a car company, Creating Table cr...

Creating Table create table cars (Vin_num varchar(30),primary key(Vin_Num),Make varchar(15),Model varchar(20),Year int,Price varchar(20)); Inserting Records: insert into cars va

I want a wordpress developer to done by task, I want a WordPress Developer ...

I want a WordPress Developer to done by task I want a WordPress developer to get my task done. The task is very simple however leads to other tasks. Desired Skills are PHP, W

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