91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

HTML5怎么制作表格樣式

發布時間:2022-04-24 16:20:16 來源:億速云 閱讀:213 作者:iii 欄目:大數據

本篇內容主要講解“HTML5怎么制作表格樣式”,感興趣的朋友不妨來看看。本文介紹的方法操作簡單快捷,實用性強。下面就讓小編來帶大家學習“HTML5怎么制作表格樣式”吧!

效果圖

HTML5怎么制作表格樣式

具體代碼如下所示:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>表格</title>
    <style type="text/css">
        *{
            margin: 0;
            padding: 0;
        }
        body{
            font: italic 20px Georgia, serif;
            letter-spacing: normal;
            background-color: #f0f0f0;
        }
        #content{
            width: 750px;
            padding: 40px;
            margin: 0 auto;
            background-color: #fff;
            border-left: 30px solid #1D81B6;
            border-right: 1px solid #ddd;
            box-shadow: 0px 0px 16px #aaa;
        }
        #table1{
            font: bold 16px/1.4em "Trebuchet MS", sans-serif;
        }
        #table1 thead th{
            padding: 15px;
            border: 1px solid #93CE37;
            border-bottom: 3px solid #9ED929;
            text-shadow: 1px 1px 1px #568F23;
            color: #fff;
            background-color: #9DD929;
            border-radius: 5px 5px 0px 0px;
        }
        #table1 thead th:empty{
            background-color: transparent;
            border: none;
        }
        #table1 tbody th{
            padding: 0px 10px;
            border: 1px solid #93CE37;
            border-right: 3px solid #9ED929;
            text-shadow: 1px 1px 1px #568F23;
            color: #666;
            background-color: #9DD929;
            border-radius: 5px 0px 0px 5px;
        }
        #table1 tbody td{
            padding: 10px;
            border: 2px solid #E7EFE0;
            text-align: center;
            text-shadow: 1px 1px 1px #fff;
            color: #666;
            background-color: #DEF3CA;
            border-radius: 2px;
        }
        #table1 tbody span.check::before{
            content: url(images/check0.png);
        }
        #table1 tfoot td{
            padding: 10px 0px;
            font-size: 32px;
            color: #9CD009;
            text-align: center;
            text-shadow: 1px 1px 1px #444;
        }
    </style>
</head>
<body>
<div id="content">
    <table id="table1">
        <thead>
            <tr>
                <th></th>
                <th scope="col" abbr="Starter">Smart Starter</th>
                <th scope="col" abbr="Medium">Smart Medium</th>
                <th scope="col" abbr="Business">Smart Business</th>
                <th scope="col" abbr="Deluxe">Smart Deluxe</th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <th scope="row">Price per month</th>
                <td>$ 2.90</td>
                <td>$ 5.90</td>
                <td>$ 9.90</td>
                <td>$ 14.90</td>
            </tr>
        </tfoot>
        <tbody>
            <tr>
                <th scope="row">Storage Space</th>
                <td>512MB</td>
                <td>1 GB</td>
                <td>2 GB</td>
                <td>4 GB</td>
            </tr>
            <tr>
                <th scope="row">Bandwidth</th>
                <td>50 GB</td>
                <td>100 GB</td>
                <td>150 GB</td>
                <td>unlimited</td>
            </tr>
            <tr>
                <th scope="row">Mysql Databases</th>
                <td>unlimited</td>
                <td>unlimited</td>
                <td>unlimited</td>
                <td>unlimited</td>
            </tr>
            <tr>
                <th scope="row">Setup</th>
                <td>12.90 ___FCKpd___0lt;/td>
                <td>12.90 ___FCKpd___0lt;/td>
                <td>free</td>
                <td>free</td>
            </tr>
            <tr>
                <th scope="row">PHP 5</th>
                <td><span class="check"></span></td>
                <td><span class="check"></span></td>
                <td><span class="check"></span></td>
                <td><span class="check"></span></td>
            </tr>
            <tr>
                <th scope="row">Ruby on Rails</th>
                <td><span class="check"></span></td>
                <td><span class="check"></span></td>
                <td><span class="check"></span></td>
                <td><span class="check"></span></td>
            </tr>
        </tbody>
    </table>
</div>
</body>
</html>

到此,相信大家對“HTML5怎么制作表格樣式”有了更深的了解,不妨來實際操作一番吧!這里是億速云網站,更多相關內容可以進入相關頻道進行查詢,關注我們,繼續學習!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

古交市| 衡山县| 修水县| 宣武区| 德清县| 南投市| 清镇市| 阿拉善左旗| 得荣县| 苏州市| 邯郸市| 江津市| 孝义市| 百色市| 大名县| 霍邱县| 岑巩县| 互助| 玉田县| 六盘水市| 景宁| 南和县| 东台市| 闵行区| 远安县| 罗山县| 铜陵市| 青田县| 东光县| 内丘县| 斗六市| 邛崃市| 西林县| 肇东市| 桃园县| 禄丰县| 大安市| 兴和县| 南乐县| 彭水| 阿鲁科尔沁旗|