现在的位置: 首页 > 综合 > 正文

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

2014年03月04日 ⁄ 综合 ⁄ 共 462字 ⁄ 字号 评论关闭
  • <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

【上篇】
【下篇】

抱歉!评论已关闭.