表单form界面

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>表单元素</title>
</head>

<body background="壁纸25.jpg">
<form action="mailto:1559963613@qq.com" method="post"><!表单域>
<table border="0" width="600" align="center"><!边框为0,宽600,高自动,居中>
    <tr>
        <td colspan="2" align="center">::欢迎给我留言</td>
        
    </tr>
    <tr>
        <td width="120" align="center">用户名</td>
        <td width="480">
            <input type="text" maxlength="4" placeholder="请输入正确的名字"><!输入文本框 最大限制长度 提示文字>
        </td>
    </tr>
    <tr>
        <td width="120" align="center">密码</td>
        <td width="480">
            <input type="password" placeholder="请输入正确的密码"><!输入密码文本框>
        </td>
    </tr>
    <tr>
        <td width="120" align="center">E-mail</td>
        <td width="480">
            <input type="email" value="@qq.com"><!输入邮箱文本框 value是值>
        </td>
    </tr>
    <tr>
        <td width="120" align="center">职业</td>
        <td width="480">
        <select><!下拉菜单>
        <option>平面设计</option>
        <option>UI设计</option>
        <option selected>网页设计</option><!优先选择下拉菜单中的一项>
        <option>交互设计</option>
        <option>产品设计</option>
        </select>
        </td>
    </tr>
    <tr>
        <td width="120" align="center">表情</td>
        <td width="480">
            <input type="radio" name="biaoqing" checked><!表示默认被选中 单选按钮只能添加一个,复选按钮可以添加多个>
            <img src="images/face1.gif" alt="表情">
            <input type="radio" name="biaoqing">
            <img src="images/face2.gif" alt="表情">
            <input type="radio" name="biaoqing">
            <img src="images/face3.gif" name="表情">
            <input type="radio" name="biaoqing">
            <img src="images/face4.gif" name="表情">
        </td>
    </tr>
    <tr>
        <td width="120" align="center">爱好</td>
        <td width="480">
            <input type="checkbox" checked>体育运动<!复选框  默认被选中>
            <input type="checkbox">健身
            <input type="checkbox">美食<br>
            <input type="checkbox">时装
            <input type="checkbox">电竞
            <input type="checkbox">篮球
        </td>
    </tr>
    <tr>
        <td width="120" align="center">留言</td>
        <td width="480">
        <textarea cols="50" rows="10"></textarea><!文字区域 通过行数和列数来改变宽高>
        </td>
    </tr>
    <tr>
        <td width="120" align="center">附件</td>
        <td width="480">
            <input type="file">
        </td>
    </tr>
    <tr>
        <td colspan="2" align="center">
            <input type="button" value="搜索">
            <input type="submit" value="OK">
            <input type="reset">
            <button>按钮</button>
        </td>
        
    </tr>
</table>
<iframe src="02teachers.html" width="600" height="300" frameborder="0" align="middle"></iframe><!内联框,画中画效果>
</form>
</body>
</html>

 

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值