快捷导航
发新帖
返回列表

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>常见的表单控件</title>
</head>

<body>
<form action="https://www,baidu.com" method="post" target="_blank" autocomplete="on" title="你的名字">

    <p>
      <label for="textfield">用户名:</label>
      <input name="textfield" type="text" id="textfield" placeholder="请填写......" size="15">
    </p>
  <p>


      <label for="password">密码:</label>
    <input name="password" type="password" id="password" title="秘密" size="17">
  </p>
  <p>
    性别:
      <input type="radio" name="sex" id="radio" value="radio">
    <label for="radio">男 </label>
    <input type="radio" name="sex" id="radio2" value="radio2">
    <label for="radio2">女
      <input type="radio" name="sex" id="radio3" value="radio3">
      保密
    </label>
  </p>
  <p>爱好:
    <input type="checkbox" name="checkbox" id="checkbox">
    <label for="checkbox">音乐
      <input type="checkbox" name="checkbox2" id="checkbox2">
      打球
      <input type="checkbox" name="checkbox3" id="checkbox3">
      舞蹈
      <input type="checkbox" name="checkbox4" id="checkbox4">
      游戏</label></p>
  <p>学历:
    <select name="select" id="select">
      <option>请选择</option>
      <option>初中</option>
      <option>高中</option>
      <option>大专</option>
      <option>本科</option>
      <option>研究生</option>
    </select>
  </p>
  <p>个人评价:
    <label for="textarea"></label>
    <textarea name="textarea" cols="50" rows="10" id="textarea"></textarea>
  </p>
  <p>
    <input type="submit" name="submit" id="submit" value="确定提交">
    <input name="reset" type="reset" autofocus id="reset" value="重置">
  </p>
  <p>
    <input name="imageField" type="image" autofocus id="imageField" formaction="https://www.baidu.com" formmethod="POST" src="images/login_02.jpg">
  </p>

</form>
</body>
</html>


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
举报 使用道具
| 回复

共1个回复 最后回复于 2017-8-1 18:01

勤币 13901   学币 196  
沙发
发表于 2017-8-1 18:01:22 | 只看该作者
作业完成没有问题~
举报 使用道具
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表