EjemplosDuoc.es.tl
  Entradas Input
 
A continuación ejemplos de los distinto input que existen en Html.

Text
<input type="text" name="rut" size="10" maxlength="10">
<input type="text" name="nombre" size="30" maxlength="50"

Text Password
<input type="password" name="password" size="10" maxlength="10"

Text Oculto
<input type="hidden" name="oculto" value="Hello World!">

TextArea
<textarea name="texto" rows="5" cols="30">Texto por Defecto</textarea>

CheckBox

<input type="checkbox" name="check" value="valor" checked> Futbol

Radio
<input type="radio" name="sexo" value="hombre">Hombre
<input type="radio" name="sexo" value="mujer">Mujer
 <!-- el mismo nombre para agrupar, sino se podran elegir ambas opciones -->

Boton Normal
<input type="submit" name="enviar" value="EnviarRegistro">          

Boton Con Imagen
<input type="image" name="foto" src="AGREGAR FOTO" width="150" heigth="150">

Boton Reset
<input type="reset" name="limpiar" value="Limpiar Registro">   

Cuadro Combinado
<select name="choice" multiple size="2"> <!-- similar a combobox o listas-->
 <option value="rojo">Rojo
 <option value="verde">Verde
 <option value="blanco">Blanco
</select>
       
 
 
   
 
Este sitio web fue creado de forma gratuita con PaginaWebGratis.es. ¿Quieres también tu sitio web propio?
Registrarse gratis