PHP编程之HTML(表单的使用)

来源:互联网 发布:php选课系统源码 编辑:程序博客网 时间:2024/06/06 09:08
  • <form>属性:action、method、target、title(类似图片的alt属性,任何标签都可使用)、enctype
  •  <input type="submit">
  •  <input type="reset">
  •   <input type="text">
       属性:size、value、maxlength、readonly、disabled
  •   <input type="checkbox">
    属性:checked
  •   <input type="radio">
  •   <input type="hidden">
  •   <input type="password">
  •   <input type="button">
  •   <input type="file">
  •   <input type="image">
  •   <select>    <option></option>  </select>
    <select>属性:multiple、size、name
    <option>属性:value、selected
  • <textarea></textarea>
    属性:cols、rows
  • <label>
    属性:for、accesskey



原创粉丝点击