小编Tho*_*mas的帖子

嵌套<article> s在语义上是否正确?

我一直在阅读新的HTML5元素及其适当的用法,目前有一些这样的标记:

    <article>
        <h1>Crazy Awesome Programming Projects</h1>
        <article>
            <h2>Mathematics</h2>

            <section>
                <h3>Binary to Decimal converter</h3>
                <p> info here </p>
            </section>

            <section>
                <h3>Scientific Calculator</h3>
                <p> info here </p>
            </section>

        </article>

        <article>
            <h2>String Manipulation</h2>

            <section>
                <h3>RSS Feed Generator</h3>
                <p> info here </p>
            </section>

            <section>
                <h3>Palindrome Detector</h3>
                <p> info here </p>
            </section>
        </article>
    </article>
Run Code Online (Sandbox Code Playgroud)

<article>以这种方式嵌套标签在语义上是否正确?提前致谢

html article html5 semantics

4
推荐指数
2
解决办法
2121
查看次数

标签 统计

article ×1

html ×1

html5 ×1

semantics ×1