Blogger Information
Blog 17
fans 0
comment 0
visits 11933
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
html5新增标签及简单后台模版--2018-08-21 17:50
Aken的博客
Original
721 people have browsed it

实例

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文档管理</title>
    <style>
        table{
            width: 800px;
            margin:auto;
            border-collapse: collapse;
            border:1px solid #000;
            text-align:center;
        }
        caption{
            font-size:25px;
            margin-bottom: 20px;
        }
        table tr th{
            height:40px;
            border:1px solid #000;
            background:lightskyblue;
        }
        table tr td{
            border: 1px solid #000;
        }
        table tr td a{
            text-decoration: none;
            color:#000;
        }
        table tr td img{
            width: 80px; height:80px;
            padding:10px;
            border-radius: 50%;
        }
        .page{
            width: 800px;
            height: 30px;
            margin:auto;
            text-align: center;
            margin-top: 20px;
        }
        .page a{
            color: #000;
            text-decoration: none;
            border: 1px solid green;
            line-height: 30px;
            padding:0px 5px;
            margin-left: 2px;
        }
        .page a:nth-child(2){
            background:#ccc;
        }
    </style>
</head>
<body>
<table>

        <caption>文档管理</caption>

    <tr>
        <th>ID</th>
        <th>标题图片</th>
        <th>文档标题</th>
        <th>所属分类</th>
        <th>操作</th>
    </tr>
    <tr>
        <td>1</td>
        <td><img src="./static/images/1.png" alt=""></td>
        <td>标题</td>
        <td>分类</td>
        <td><a href="">购 买</a> | 
            <a href="">删除</a>
        </td>
    </tr>
    <tr>
        <td>2</td>
        <td><img src="./static/images/1.png" alt=""></td>
        <td>标题</td>
        <td>分类</td>
        <td><a href="">购 买</a> | 
            <a href="">删除</a>
        </td>
    </tr>
    <tr>
        <td>3</td>
        <td><img src="./static/images/1.png" alt=""></td>
        <td>标题</td>
        <td>分类</td>
        <td><a href="">购 买</a> | 
            <a href="">删除</a>
        </td>
    </tr>
</table>

<p class="page"><a href="">首页</a><a href="">1</a><a href="">2</a><a href="">3</a><a href="">4</a><a href="">5</a><a href="">下五页</a><a href="">尾页</a></p>
</body>
</html>

运行实例 »

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


QQ.png


QQ1.jpg

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments