我的编程空间,编程开发者的网络收藏夹
学习永远不晚

怎么用Bootstrap做一个历史朝代表

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

怎么用Bootstrap做一个历史朝代表

这篇“怎么用Bootstrap做一个历史朝代表”文章的知识点大部分人都不太理解,所以小编给大家总结了以下内容,内容详细,步骤清晰,具有一定的借鉴价值,希望大家阅读完这篇文章能有所收获,下面我们一起来看看这篇“怎么用Bootstrap做一个历史朝代表”文章吧。

用Bootstrap做一个历史朝代表

引入CDN,算好需要合并的单元格。

<!DOCTYPE html>
<html>

<head>
    <!-- 移动设备 -->
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta charset="utf-8" />
    <title>朝代表</title>
    <!-- bootstrap-cssCDN链接 -->
    <link rel="stylesheet" type="text/css" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.css" />
    <!-- jqueryCDN链接 -->
    <script class="lazy" data-src="https://cdn.staticfile.org/jquery/1.12.4/jquery.js" type="text/javascript" charset="utf-8"></script>
    <!-- bootstrap-jsCDN链接 -->
    <script class="lazy" data-src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
</head>

<body>
    <h2 class="text-center">历史朝代表</h2>
    <div class="container-fluid">
        <div class="table-responsive">
            <table class="table table-striped table-bordered table-hover">
                <thead>
                    <tr>
                        <th colspan="2">朝 代</th>
                        <th>起 讫</th>
                        <th>都 城</th>
                        <th>今 地</th>
                    </tr>
                </thead>
                <tr>
                    <th colspan="2">夏</th>
                    <td>约前2146-1675年</td>
                    <td>安邑</td>
                    <td>山西夏县</td>
                </tr>
                <tr>
                    <th colspan="2">商</th>
                    <td>约前1675-1029年</td>
                    <td>亳</td>
                    <td>河南商丘</td>
                </tr>
                <tr>
                    <th rowspan="2">周</th>
                    <th>西周</th>
                    <td>约前1029-771年</td>
                    <td>镐京</td>
                    <td>陕西西安</td>
                </tr>
                <tr>
                    <th>东周</th>
                    <td>前770-256年</td>
                    <td>洛邑</td>
                    <td>河南洛阳</td>
                </tr>
                <tr>
                    <th colspan="2">秦</th>
                    <td>前221-207年</td>
                    <td>咸阳</td>
                    <td>陕西咸阳</td>
                </tr>
                <tr>
                    <th rowspan="2">汉</th>
                    <th>西汉</th>
                    <td>前206&mdash;公元25</td>
                    <td>长安</td>
                    <td>陕西西安</td>
                </tr>
                <tr>
                    <th>东汉</th>
                    <td>25&mdash;220</td>
                    <td>洛阳</td>
                    <td>河南洛阳</td>
                </tr>
                <tr>
                    <th rowspan="3">三国</th>
                    <th>魏</th>
                    <td>220-265</td>
                    <td>洛阳</td>
                    <td>河南洛阳</td>
                </tr>
                <tr>
                    <th>蜀</th>
                    <td>221-263</td>
                    <td>成都</td>
                    <td>四川成都</td>
                </tr>
                <tr>
                    <th>吴</th>
                    <td>222-280</td>
                    <td>建业</td>
                    <td>江苏南京</td>
                </tr>
                <tr>
                    <th colspan="2">西晋</th>
                    <td>265-317</td>
                    <td>洛阳</td>
                    <td>河南洛阳</td>
                </tr>
                <tr>
                    <th rowspan="2">东晋
                        <br>十六国</th>
                    <th>东晋</th>
                    <td>317-420</td>
                    <td>建康</td>
                    <td>江苏南京</td>
                </tr>
                <tr>
                    <th>十六国</th>
                    <td>304-439</td>
                    <td>&mdash;</td>
                    <td>&mdash;</td>
                </tr>
                <tr>
                    <th rowspan="4">南朝</th>
                    <th>宋</th>
                    <td>420-479</td>
                    <td>建康</td>
                    <td>江苏南京</td>
                </tr>
                <tr>
                    <th>齐</th>
                    <td>479-502</td>
                    <td>建康</td>
                    <td>江苏南京</td>
                </tr>
                <tr>
                    <th>梁</th>
                    <td>502-557</td>
                    <td>建康</td>
                    <td>江苏南京</td>
                </tr>
                <tr>
                    <th>陈</th>
                    <td>557-589</td>
                    <td>建康</td>
                    <td>江苏南京</td>
                </tr>
                <tr>
                    <th rowspan="6">北朝</th>
                    <th rowspan="2">北魏</th>
                    <td rowspan="2">386-534</td>
                    <td>平城</td>
                    <td>山西大同</td>
                </tr>
                <tr>
                    <td>洛阳</td>
                    <td>河南洛阳</td>
                </tr>
                <tr>
                    <th>东魏</th>
                    <td>534-550</td>
                    <td>邺</td>
                    <td>河北临漳</td>
                </tr>
                <tr>
                    <th>北齐</th>
                    <td>550-577</td>
                    <td>邺</td>
                    <td>河北临漳</td>
                </tr>
                <tr>
                    <th>西魏</th>
                    <td>535-557</td>
                    <td>长安</td>
                    <td>陕西西安</td>
                </tr>
                <tr>
                    <th>北周</th>
                    <td>557-581</td>
                    <td>长安</td>
                    <td>陕西西安</td>
                </tr>
                <tr>
                    <th colspan="2">隋</th>
                    <td>581-618</td>
                    <td>大兴</td>
                    <td>陕西西安</td>
                </tr>
                <tr>
                    <th colspan="2">唐</th>
                    <td>618-907</td>
                    <td>长安</td>
                    <td>陕西西安</td>
                </tr>
                <tr>
                    <th rowspan="6">五代十国</th>
                    <th>后梁</th>
                    <td>907-923</td>
                    <td>汴</td>
                    <td>河南开封</td>
                </tr>
                <tr>
                    <th>后唐</th>
                    <td>923-936</td>
                    <td>洛阳</td>
                    <td>河南洛阳</td>
                </tr>
                <tr>
                    <th>后晋</th>
                    <td>936-946</td>
                    <td>汴</td>
                    <td>河南开封</td>
                </tr>
                <tr>
                    <th>后汉</th>
                    <td>947-950</td>
                    <td>汴</td>
                    <td>河南开封</td>
                </tr>
                <tr>
                    <th>后周</th>
                    <td>951-960</td>
                    <td>汴</td>
                    <td>河南开封</td>
                </tr>
                <tr>
                    <th>十国</th>
                    <td>902-979</td>
                    <td>&mdash;</td>
                    <td>&mdash;</td>
                </tr>
                <tr>
                    <th rowspan="2">宋</th>
                    <th>北宋</th>
                    <td>960-1127</td>
                    <td>开封</td>
                    <td>河南开封</td>
                </tr>
                <tr>
                    <th>南宋</th>
                    <td>1127-1279</td>
                    <td>临安</td>
                    <td>浙江杭州</td>
                </tr>
                <tr>
                    <th colspan="2">辽</th>
                    <td>907-1125</td>
                    <td>皇都(上京)</td>
                    <td>内蒙古 巴林左旗</td>
                </tr>
                <tr>
                    <th colspan="2">西夏</th>
                    <td>1038-1227</td>
                    <td>兴庆府</td>
                    <td>宁夏银川</td>
                </tr>
                <tr>
                    <th rowspan="3" colspan="2">金</th>
                    <td rowspan="3">1115-1234</td>
                    <td>会宁</td>
                    <td>阿城(黑龙江)</td>
                </tr>
                <tr>
                    <td>中都</td>
                    <td>北京</td>
                </tr>
                <tr>
                    <td>开封</td>
                    <td>河南开封</td>
                </tr>
                <tr>
                    <th colspan="2">元</th>
                    <td>1206-1368</td>
                    <td>大都</td>
                    <td>北京</td>
                </tr>
                <tr>
                    <th colspan="2">明</th>
                    <td>1368-1644</td>
                    <td>北京</td>
                    <td>北京</td>
                </tr>
                <tr>
                    <th colspan="2">清</th>
                    <td>1616-1911</td>
                    <td>北京</td>
                    <td>北京</td>
                </tr>
                <tr>
                    <th colspan="2">中华民国</th>
                    <td>1912-1949</td>
                    <td>南京</td>
                    <td>江苏南京</td>
                </tr>
                <tr>
                    <th colspan="5" class="text-center">中华人民共和国1949年10月1日成立,首都北京。</th>
                </tr>
            </table>
        </div>
    </div>
</body>

</html>

以上就是关于“怎么用Bootstrap做一个历史朝代表”这篇文章的内容,相信大家都有了一定的了解,希望小编分享的内容对大家有帮助,若想了解更多相关的知识内容,请关注编程网行业资讯频道。

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

怎么用Bootstrap做一个历史朝代表

下载Word文档到电脑,方便收藏和打印~

下载Word文档

编程热搜

目录