logo
g Text Version
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Sports
Travel & Culture
TV & Movies

dailyclick
Bored? Games!
Nutrition
Postcards
Take a Quiz
Rate My Photo

new
Action Movies
Bible Basics
Houseplants
Romance Movies
Creativity
Family Travel
Southwest USA


dailyclick
All times in EST

Full Schedule
g
g HTML Site

BellaOnline's HTML Editor

g

The HTML Form - Password Input Tag

Guest Author - Diane Cipollo

The type of HTML input tag that we will discuss in this tutorial is the password input tag. The password input tag is very similar to the text input tag that we discussed in the last tutorial. You should read that tutorial before you continue. When you sign in to any private or protected area such as a customer account you encounter a form asking for your username and password. The input field for your username is created with the text input tag and the password input field is created with the password input tag. The most notable difference between these two types of input tags is the built-in security feature for the password input tag. When you type in your password you cannot see the characters of the password on the computer screen. This is because the password input tag tells the web browser to show a dot or an * in place of the characters that you type in. Give it a try below in the sample password input field.

Below is the basic code for this type of input tag.

<input type="password" name="password"
value="" size="30" maxlenght="10">
< left angle bracket
inputelement name
typetype attribute controls the type of input field - text, button, password, checkbox, hidden, file, radio, submit, reset, image
name name attribute is used to set an identification for the input field
valuevalue attribute is used to set initial text in the input field
sizesize attribute sets the physical size (in number of characters) for the length of the input field
maxlengthmaxlength attribute sets the maximum number of characters that can be entered into the input field
>right angle bracket
Note--The arrow indicates that the code is wrapped to a second line and should really be all on one line.

Next →

|


This site needs an editor - click to learn more!

Add The+HTML+Form+%2D+Password+Input+Tag to Twitter Add The+HTML+Form+%2D+Password+Input+Tag to Facebook Add The+HTML+Form+%2D+Password+Input+Tag to MySpace Add The+HTML+Form+%2D+Password+Input+Tag to Del.icio.us Digg The+HTML+Form+%2D+Password+Input+Tag Add The+HTML+Form+%2D+Password+Input+Tag to Yahoo My Web Add The+HTML+Form+%2D+Password+Input+Tag to Google Bookmarks Add The+HTML+Form+%2D+Password+Input+Tag to Stumbleupon Add The+HTML+Form+%2D+Password+Input+Tag to Reddit




RSS | Editor's Picks Articles | Top Ten Articles | Previous Features | Site Map


For FREE email updates, subscribe to the HTML Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor


Content copyright © 2014 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.

g


g features
What's Coming in HTML 5

What is FTP?

HTML Fundamentals - Tables

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Poetry
Daily
Weekly
Monthly
Less than Monthly



BellaOnline on Facebook
g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2014 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor