HTML5   发布时间:2022-04-25  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了html5 – 我们是否应该在html语义类文章的内部或外部包含引导容器类?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我们是否应该在html语义类的内部或外部包含bootstrap容器类< article>?

<!doctype html>
<html>
    <head>
        <Meta charset="utf-8">
        <Meta name="description" content="">
        <Meta name="viewport" content="width=device-width,initial-scale=1">
        <title>html</title>
        <link rel="stylesheet" href="css/style.css">
        <link rel="author" href="humans.txt">
    </head>
    <body>
        <div class="container">
            <article>
                ...
            </article>
        </div>
        <script src="js/main.js"></script>
    </body>
</html>

或者,这是推荐的吗?

<!doctype html>
<html>
    <head>
        <Meta charset="utf-8">
        <Meta name="description" content="">
        <Meta name="viewport" content="width=device-width,initial-scale=1">
        <title>html</title>
        <link rel="stylesheet" href="css/style.css">
        <link rel="author" href="humans.txt">
    </head>
    <body>
        <article>
            <div class="container">
                ...
            </div>
        </article>
        <script src="js/main.js"></script>
    </body>
</html>

解决方法

http://getbootstrap.com/css/

虑到这一点 – 你应该把容器放在外面.您可以使用网格来存放文章.

大佬总结

以上是大佬教程为你收集整理的html5 – 我们是否应该在html语义类文章的内部或外部包含引导容器类?全部内容,希望文章能够帮你解决html5 – 我们是否应该在html语义类文章的内部或外部包含引导容器类?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。