<html>
<head>
<title>P16</title>
</head>
<?php
echo "<FORM method='post' action='p16_2.php'>";
echo "<H1><font color='lightblue'>Elementos De Entrada</font></H1><br>";
echo "<H2>Elementos De Tipo INPUT</H2>";
echo "<H3>TEXT</H3><br>";
echo "Introduzca el valor a buscar";
echo "<input type='text' name='txt' value='Valor Por Defecto'><hr>";
echo "<H3>RADIO</H3><br>";
echo "Sexo: ";
echo "<INPUT TYPE='radio' NAME='sexo' VALUE='M' >Mujer";
echo "<INPUT TYPE='radio' NAME='sexo' VALUE='H' checked>Hombre<hr>";
echo "<H3>CHECKBOX</H3><br>";
echo "Extras: ";
echo "<INPUT TYPE='checkbox' NAME='extras' VALUE='garaje' CHECKED>Garaje";
echo "<INPUT TYPE='checkbox' NAME='extras' VALUE='piscina'>Piscina";
echo "<INPUT TYPE='checkbox' NAME='extras' VALUE='jardin'>Jardín<hr>";
echo "<H3>Button</H3><br>";
echo "<input type='submit' name='boton' value='Actualizar Datos'><hr>";
echo "<H3>FILE</H3><br>";
echo "Fichero: ";
echo "<input type='file' name='file'><hr>";
echo "<H3>HIDDEN</H3><BR>";
echo "<input type='hidden' name='oculto'><hr>";
echo "<H3>PASSWORD</H3><BR>";
echo "Password: ";
echo "<input type='PASSWORD' name='pass'><hr>";
echo "<H3>SUBMIT</H3><BR>";
echo "<input type='submit' name='enviar' value='Enviar Datos'><HR>";
echo "<H3>Elemento SELECT</h3><BR>";
echo "<H4>SELECT SIMPLE</H4><BR>";
echo "Color: ";
echo "<SELECT NAME='color'>
<OPTION VALUE='rojo' SELECTED>Rojo
<OPTION VALUE='verde'>Verde
<OPTION VALUE='azul'>Azul
</SELECT><hr>";
echo "<h3>Select Multiple</h3><br>";
echo "Idiomas:
<SELECT MULTIPLE SIZE='3' NAME='idiomas[]'>
<OPTION VALUE='ingles' SELECTED>Inglés
<OPTION VALUE='frances'>Francés
<OPTION VALUE='aleman'>Alemán
<OPTION VALUE='holandes'>Holandés
</SELECT><hr>";
echo "<h3>TEXTAREA<h3><br>";
echo "Comentario:
<TEXTAREA COLS='50' ROWS='4' NAME='comentario'>
Este libro me parece ...
</TEXTAREA><hr>";
echo "<input type='submit' value='Enviar'>";
echo"<input type='submit' value='Borrar Datos'>";
?>
</body>
</style>
</html>