Formular Is

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Formularis

html

<html> <head> <title> Desena pagina </title> </head> <body> <h1><center> Formularis </center></h1> <hr> <form action method=post enctype="multipart/form-data"> <! action="mailto:usuari@servidor.com"|"fitxer.html"|"http://gva .edu.es", s l'acci que farem a l'executar el formulari> <! method="post|get" mtodes d'enviament, el post s ms llarg> <center> <table border> <tr> <td>Nom: </td> <td> <input type="text" name="nom" size=12 maxlength=18> D.Naixement: <input type="text" name="edat" size=8 maxlength=8> DNI: <input type="text" name="dni" size=8 maxlength=8> </td> <tr> <td>Cognoms:</td> <td> <input type="text" name="cognoms" size=48 maxlength=48> </td> <tr> <td> Carrer i n&#250mero: </td> <td> <input type="text" name="carrer" size=48 maxlength=48> </td> <tr> <td> Codi Postal: </td> <td> <input type="text" name="codi" size=5 maxlength=5> Ciutat: <input type="text" name="ciutat" size=36 maxlength=36> </td> <tr> <td> Provincia: </td> <td> <input type="text" name="provincia" size=20 maxlength=20> Tel&#232fon <input type="text" name="telefon" size=19 maxlength=19> </td>

1/2

Formularis

html

<tr>

<td> Opci&#243 i classe: </td> <td> Tria opci&#243 <select name="opcio"> <option> opcio 1 <option> opcio 2 <option> opcio 3 <option> opcio 4 <option> opcio 5 </select> <font color="red" align=right>Classe A <input type="radio" name="classe" value="A"> Classe B <input type="radio" name="classe" value="B"></font> </td> <tr> <td> Cursos:</td> <td> Pseudocodi <input type="checkbox" name="curs" value="Pseudocodi"> Calc <input type="checkbox" name="curs" value="calc"> Html <input type="checkbox" name="curs" value="html"> Karel <input type="checkbox" name="curs" value="karel"></td> <tr> <td> Comentaris<br> personals:</td> <td> <textarea name="comentari" rows=2 cols=48> </textarea> </td> <tr> <td> Contrasenya: </td> <td> <input type="password"></td> <tr> <td> Pujar fitxer: </td> <td> <input type="file" name="fitxer"></td> <tr> <td><b> Polse ac&#237:</b></td> <td align=center> <input type="submit" value="Enviar dades"> <input type="reset" value="Esborrar dades"> </td> </table></center> </form> </body> </html>

2/2

You might also like