Back to the index| Previous | Next
Competences: To insert a form in the web page
Contents: Different kinds of input
Look at the forms for different kinds of input:
Our HTML pages aren't interactive ones, so we must learn something else about programming language to use these forms! Perhaps the next year??
Code | Output | Some examples in the w3schools site |
This is an input type text <input type="text" /> | This is an input type text | Input type text |
This is an input type radio <input type="radio" /> | This is an input type radio | Input type radio |
This is an input type checkbox <input type="checkbox" /> | This is an input type checkbox | Input type checkbox |
This is a select menu <select> <option>A</option> <option>B</option> </select> |
This is a select menu | Select |
This is an input type submit <input type="submit" /> | This is an input type submit |
Type text and submit Type radio and submit Type checkbox and submit |
<html> <body> ........... <form action="http://www.openfisica.com/lezioni_html/inglese/calcola.php" method="post"> Insert two numbers: <input type="text" name="a" /> <input type="text" name="b" /> <input type="submit" /> </form> .......... </body> </html>