An investment in knowledge
pays the best interest.
-Benjamin Franklin
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 
Glossary

New Entries Added Almost Daily!
Click here to get on our Mailing List

   

   Access    Excel    Word    Windows    HTML

 
HTML

Input

Using the Input Controls

In this tutorial you will learn how to use the Input Controls

We can then start adding controls.

I like to add Labels for each control to aid in Accessibility. This helps for tabbing and if you click on a label it will select that control.

Username:
	<label for="UserName">UserName:</label>
	<input type="text" value="Alex" size="30" id="UserName" name="UserName">
	

Password:
	<label for="Password">Password</label>
	<input type="password" id="Password" name="Password">
	

Some other useful controls:

Hidden

Just by changing the TYPE attribute you can hide a value.

	<label for="CustomerID">CustomerID</label>
	<input type="hidden" id="CustomerID" name="CustomerID">
	

You may wish to remove the Label as if it's hidden you wouldn't want it showing.


Submit Button
	<input type="submit" value="Submit">
	

Reset Button
	<input type="reset" value="Reset">
	

Input Button
	<label for="TestButton">TestButton</label>
	<input type="button" id="TestButton" name="TestButton" value="Test Button">
	

Input Radio
	<label for="Male">Male</label>
	<input type="radio" name="radio" id="Male" value="Male">
	<br />
	<label for="Female">Female</label>
	<input type="radio" name="radio" id="Female" value="Female">
	
Gender

Course

Want to learn more? Request this via the contact form.

Search

You can find more about this by searching the website.


Alex Hedley (Avatar) By: Alex Hedley


Click here to sign up for more FREE tips

 

 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP