html 表单,表格

<form>
<input type=“text”>    text输入文本,password输入密码,checkbox复选按钮,button按钮
<input type=“button” value=“按钮”> 
<input type=“submit” (value=“提交”)>    提交按钮
radio单选按钮(
男<input type=“radio” name=“xxx”>
女<input type=“radio” name=“xxx”>
)
<select>
      <option>123</option>
      <option>456</option>      下拉列表
</select>
<textarea cols=“30”(列数(宽度)) rows=“20”(行数(高度))>123(默认文字)</textarea>       文本域
</form>


table表格
<table>
 <thead>
  <tr>
    <th>标题1</th>
    <th>标题2</th>
    <th>标题3</th>
  </tr>
 </thead>

 <tbody>
  <tr>
     <td>内容1</td>
     <td>内容2</td>
     <td>内容3</td>
  </tr>
 </tbody>

 <tfoot>
 <tr>
   <td>脚注</td>
 </tr>
 </tfoot>
</table>

posted @ 2021-03-24 17:01  终末s  阅读(58)  评论(0)    收藏  举报