Web Development HTML Guide - Learn HTML
Developer Tutorials
ASP
CGI & Perl
CSS
Flash
HTML
Java
JavaScript
Linux
MySQL
PHP
Photoshop
Python
Wireless
XML



Developer Manuals
Learn HTML
Learn PHP
Learn MySQL
Learn CSS
Learn Pear


Developer Scripts
ASP Scripts
ASP.NET Scripts
CGI & Perl Scripts
Flash Scripts
Java Scripts
JavaScript Scripts
PHP Scripts
Python Scripts
Remotely Hosted Scripts
Tools & Utilities Scripts
XML Scripts

Developer Resources
Developer Tools
Developer News
Developer Forums
Developer Content
Developer Book Reviews
Survey Software

Web Hosting Directory
Budget Web Hosting
ColdFusion Hosting
Dedicated Servers
Domain Hosting
E-Commerce Hosting
Email Hosting
Free Web Hosting
Linux Web Hosting
Managed Hosting
Reseller Hosting
Small Business Hosting
Windows Web Hosting

<INPUT ...>

Usage Recommendation
thumbs up use it

  • TYPE: what type of field
  • NAME: name of this form field
  • VALUE: initial or only value of this field
  • SIZE: how wide the text field should be
  • MAXLENGTH: maximum number of characters
  • CHECKED: check this checkbox or radio button
  • BORDER: border around image
  • SRC: URL of image
  • ALT: text to show if you don't show the picture
  • LOWSRC: a version of the picture that isn't such a big file
  • WIDTH: width of image
  • HEIGHT: height of image
  • ALIGN: how text should flow around the picture
  • VSPACE: vertical distance between the picture and the text
 
  • HSPACE: horizontal distance between the picture and the text
  • READONLY: the value of this field cannot be changed
  • DISABLED: don't let the user do anything with this field
  • ACCESSKEY
  • TABINDEX: tab order
  • LANGUAGE: scripting language to use
  • onClick: when the user clicks here
  • onChange: when this field is changed
  • onFocus: when this field gets the focus
  • onBlur: when this field loses the focus
  • onKeyPress: script to run when a key is pressed
  • onKeyUp: script for when a key goes up while the field has the focus
  • onKeyDown: script for when a key goes down while the field has the focus
  • AUTOCOMPLETE: If the browser should use autocompletion for the field

<INPUT ...> creates the data entry fields on an HTML form. (Well, it creates most types of fields, <TEXTAREA ...> and <SELECT ...> also create some, as does the new <BUTTON ...> tag.) The TYPE attribute establishes what type of field the input is creating. The other <INPUT ...> attributes affect different types of inputs different ways (or not at all). So let's jump straight into the TYPE attribute and look at the different types of input fields.


Copyright Idocs, Inc. Written by Miko Sullivan











About the NetVisits, Inc Network | Advertise
Developer Tutorials hosted by HostGator.
Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy.
Visit other NetVisits, Inc. sites: