HTML


"...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...."

HTML Forms Input Type Text


Register / Login

Register to post on our forums and use our advanced features.
User Name:          Password:   
 
  • Learn the 7 input types of HTML forms
  • Complete HTML forms tags list
  • Join our busy webmaster forums!

The input type text creates a single line the user can enter text into.

Here is an example:

Please put in your e-mail: <input type="text" name="email" size="40" maxlength="39">

The code above would result in this (but only if with in <form> tags).

Please put in your e-mail:

This input type is very versatile. Here are the attributes to this input type

  • input * - tells the browser that this is part of the form

  • type * - tells the browser what input type it is

  • name * - when the form is submitted, this is the header the information in this field will go under

  • size * - how wide the text window will be

  • maxlength - controls how much text can be put in the window (without this, it's unlimited, even if the window is small)

* = mandatory

Back to the HTML forms menu.

 
Google Web ahfb2000   
 

Web Hosting


Price      
Space    
Transfer 
Platform 

Domain Names




Courtesy of
onestopdomains.com

PHP Scripts


  


About us  Advertise  Contact us  Privacy  Sitemap

Copyright © 1999 - 2007 Advanced HTML For Beginners and AHFB2000, All rights reserved.
Find out more about isphost.org and why you should avoid them at all cost.