WEB前端之HTML FORM

2025-04-07 09:40:14

1、<from action="" method=" post"></form>action 填写表单提交给谁处理method 表单提交类型

WEB前端之HTML FORM

2、不同类型的 input 元素、复选框、单选按钮、提交按钮等<input type="text" name="name" readonly disabled size="40" maxlength="80"><input type="password" name="password"><input type="radio" name="sex" value="male" checked><input type="radio" name="sex" value="femal"><input type="checkbox" name="a" value="a" >a<input type="number" min="2" max="8"><input type="date" name="data"><input type="color" name="color"><input type="range" name="a"><input type="month/week/time/datetime/datetime-local/email/search/tel/url" name="s"><input type="submit" value="提交"><input type="reset" value="重置">

WEB前端之HTML FORM

3、<fieldset><legend>组合表单数据</legend></fieldset>

WEB前端之HTML FORM

4、<select><option selected>a&盟敢势袂lt;/select><text锾攒揉敫area rows="20" cols="30"></textarea><button></button>

WEB前端之HTML FORM
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
相关推荐
  • 阅读量:22
  • 阅读量:87
  • 阅读量:30
  • 阅读量:81
  • 阅读量:76
  • 猜你喜欢