HTML5学习笔记【1】表单的创建

来源:互联网 发布:浅墨seo 编辑:程序博客网 时间:2024/06/04 18:24
<!DOCTYPE html><html><head lang="en">    <meta charset="UTF-8">    <title>表单</title></head><body>    <form>        用户名:        <input type="text">        <br/>        密码:        <input type="password">        <br/>        你喜欢的水果有?        苹果<input type="checkbox">        香蕉<input type="checkbox">        西红柿<input type="checkbox">        <br/>        请选择您的性别        男<input type="radio" name="sex">        女<input type="radio" name="sex">        <br/>        请选择您常用的网站        <select>            <option>www.baidu.com</option>            <option>www.cocos2dx.com</option>            <option>www.sdag.com</option>        </select>        <input type="button" value="取消">        <input type="submit" value="确定">    </form>    <textarea cols="30" rows="30">请填写个人信息</textarea></body></html>

0 0
原创粉丝点击