表单元素

表单元素指的是不同类型的 input 元素、复选框、单选按钮、提交按钮等等。
表单三元素:input、textarea、select。

input

  1. <form name="get-request" action="https://www.zhihu.com/search" method="get">
  2. 通过form表单使用get/post请求<br/>
  3. <input type="content" name="q"><br/>
  4. <input type="submit">
  5. </form>

textarea

select