博客列表 >系统设置

系统设置

雨天的博客
雨天的博客原创
2018年08月21日 14:33:14788浏览

实例

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>系统设置</title>
</head>
<body>
    <h2>系统设置</h2>
    <form action="">
        <table>
            <tr>
                <td><label for="title">站点名称</label></td>
                <td><input type="text" id="title" placeholder="建议不超过40个字"></td>
            </tr>
            <tr>
                <td><label for="keywords">关键字</label></td>
                <td><input type="text" id="keywords" placeholder="建议用英文逗号分开"></td>
            </tr>
            <tr>
                <td><label for="description">站点描述</label></td>
                <td><textarea name="" row="10" cols="30" id="description" required></textarea></td>
            </tr>
            <tr>
                <td colspan="2"><input type="submit" name="submit" value="提交"></td>
            </tr>
        </table>
    </form>
    <style>
        h2{text-align: center;}
        table td{border: none;padding: 15px;}
        table{width: 600px;margin: auto;}
        table td:first-child{text-align: right;}
        input[type="text"]{width: 400px;height: 30px;border: solid 1px black;border-radius: 5px;padding-left: 15px;}
        table td textarea{width: 400px;height: 100px;border: solid 1px black;border-radius: 5px;padding-left: 15px;resize: none;}
        input[type="submit"]{width: 100px;height: 36px;background: #FFF;border: 2px solid black;border-radius: 8px;}
        input[type="submit"]:hover{background: black;color: #FFF;cursor:pointer;}
        table tr:last-child td:last-child{text-align: center}
    </style>
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例


上一条:欢迎进入管理后台下一条:用户登录
声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议