How To create HTML Forms
- The HTML
- Form elements are different types of input elements, like text fields, checkboxes, radio buttons, submit buttons, and more.
- The input element is the most important form element.
<input type="text"> | Defines a one-line text input field |
<input type="radio"> | Defines a radio button (for selecting one of many choices) |
<input type="submit" | >Defines a submit button (for submitting the form) |
Sample Form
HTML Table
- Table is defined with the
<table>
- Rows are defined with <tr>
- Headers are defined with <th>
- Table cells (data) are defined with <td>
<table>
<tr>
<th>Time</th>
<th>Monday</th>
<th>Tuesday</th>
</tr>
<tr>
<th>9.00-9.45</th>
<th>Fitness Club</th>
<th>Fitness Club</th>
</tr>
</table>
Time | Monday | Tuesday |
---|---|---|
9.00-9.45 | Fitness Club | Fitness Club |
No comments:
Post a Comment