设为首页收藏本站
查看: 2505|回复: 0

[前端开发] html基础

[复制链接]
  • TA的每日心情
    开心
    2023-9-4 15:59
  • 签到天数: 445 天

    [LV.9]以坛为家II

    发表于 2022-8-8 00:28:23 | 显示全部楼层 |阅读模式
    1. <!DOCTYPE html>
    2. <html>
    3.         <head>
    4.                 <meta charset="UTF-8">               
    5.                 <title>我的第一个网页</title>       
    6.                 <style type="text/css">
    7.                         body{background-color: beige;}
    8.                         textarea{resize: none;}
    9.                 </style>
    10.         </head>
    11.         <body>
    12.                 <h1>CSS禅意花园</h1>
    13.                 <p>来源:百度 发表时间:2013-12-24</p>
    14.                 <h2><a href="javascript:;" target="_blank">关于本书</a></h2>
    15.                 <h2><a href="#">空连接</a></h2>
    16.                 <h2><a href="javascript:;">空连接</a></h2>
    17.                 <!-- 表单 -->
    18.                 <form accept="http://www.baidu.com" method="POST">
    19.                     账户:<input type="text" va lue=""/><br/>
    20.                         密码:<input type="password" value=""/><br/>
    21.                         单选框:<input type="radio" name="xb" id="nan"><label for="nan">男</label>
    22.                                <input type="radio" name="xb" id="nv" checked="checked"><label for="nv">女</label><br/>
    23.                         复选框:<input type="checkbox" id="chifan"/><label for="chifan">吃饭</label>
    24.                                         <input type="checkbox" id="shuijiao"/><label for="shuijiao">睡觉</label>
    25.                                         <input type="checkbox" id="shangban"/><label for="shangban">上班</label><br>
    26.                         来自:<select> name="">
    27.                                         <option value="">北京</option>
    28.                                         <option value="">上海</option>
    29.                                         <option value="">广州</option>
    30.                                         <option value="" selected="selected">深圳</option>
    31.                                 </select><br>
    32.                                 文本域:<textarea name="" ></textarea><br>
    33.                         <input type="submit" value="点击提交">&nbsp;<input type="reset" value="重置">
    34.                 </form>
    35.         </body>
    36. </html>
    复制代码
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    红盟社区--红客联盟 

    Processed in 0.058235 second(s), 24 queries.

    站点统计| 举报| Archiver| 手机版| 黑屋 |   

    备案号:冀ICP备20006029号-1 Powered by HUC © 2001-2021 Comsenz Inc.

    手机扫我进入移动触屏客户端

    关注我们可获取更多热点资讯

    Honor accompaniments. theme macfee

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