|
Revision 14, 1.9 KB
(checked in by yabuki, 3 years ago)
|
|
|
| Line | |
|---|
| 1 | <form action='http://localhost:8080/RequestedParameters.jsp' method='get'> |
|---|
| 2 | <table border='1'> |
|---|
| 3 | <tr> |
|---|
| 4 | <th>タグ</th> |
|---|
| 5 | <th>type属性値</th> |
|---|
| 6 | <th>表示例</th> |
|---|
| 7 | </tr> |
|---|
| 8 | <tr> |
|---|
| 9 | <td rowspan='8'>input</td> |
|---|
| 10 | <td>text</td> |
|---|
| 11 | <td><input type='text' name='name' value='default' size='30' /></td> |
|---|
| 12 | </tr> |
|---|
| 13 | <tr> |
|---|
| 14 | <td>password</td> |
|---|
| 15 | <td><input type='password' name='password' /></td> |
|---|
| 16 | </tr> |
|---|
| 17 | <tr> |
|---|
| 18 | <td>radio</td> |
|---|
| 19 | <td> |
|---|
| 20 | <label><input type='radio' name='radio1' value='A' checked='checked' />A</label> |
|---|
| 21 | <label><input type='radio' name='radio1' value='B' />B</label> |
|---|
| 22 | <label><input type='radio' name='radio1' value='C' />C</label> |
|---|
| 23 | </td> |
|---|
| 24 | </tr> |
|---|
| 25 | <tr> |
|---|
| 26 | <td>checkbox</td> |
|---|
| 27 | <td> |
|---|
| 28 | <label><input type='checkbox' name='check1' value='1' checked='checked' />1</label> |
|---|
| 29 | <label><input type='checkbox' name='check1' value='2' checked='checked' />2</label> |
|---|
| 30 | <label><input type='checkbox' name='check1' value='3' />3</label> |
|---|
| 31 | </td> |
|---|
| 32 | </tr> |
|---|
| 33 | <tr> |
|---|
| 34 | <td>file</td> |
|---|
| 35 | <td><input type='file' name='file1' /></td> |
|---|
| 36 | </tr> |
|---|
| 37 | <tr> |
|---|
| 38 | <td>hidden</td> |
|---|
| 39 | <td>表示されない<input type='hidden' name='hidden1' value='hidden value' /></td> |
|---|
| 40 | </tr> |
|---|
| 41 | <tr> |
|---|
| 42 | <td>submit</td> |
|---|
| 43 | <td><input type='submit' name='submit1' value='submit' /></td> |
|---|
| 44 | </tr> |
|---|
| 45 | <tr> |
|---|
| 46 | <td>reset</td> |
|---|
| 47 | <td><input type='reset' name='reset1' value='reset' /></td> |
|---|
| 48 | </tr> |
|---|
| 49 | <tr> |
|---|
| 50 | <td>select</td> |
|---|
| 51 | <td></td> |
|---|
| 52 | <td> |
|---|
| 53 | <select name='select1'> |
|---|
| 54 | <option value='10'>10</option> |
|---|
| 55 | <option value='20'>20</option> |
|---|
| 56 | <option value='30'>30</option> |
|---|
| 57 | <option value='40'>40</option> |
|---|
| 58 | <option value='50'>50</option> |
|---|
| 59 | </select> |
|---|
| 60 | </td> |
|---|
| 61 | </tr> |
|---|
| 62 | <tr> |
|---|
| 63 | <td>textarea</td> |
|---|
| 64 | <td></td> |
|---|
| 65 | <td><textarea name='textarea1' rows='3' cols='20'>comment</textarea></td> |
|---|
| 66 | </tr> |
|---|
| 67 | </table> |
|---|
| 68 | </form> |
|---|