Merge pull request #11 from damieng/patch-1

Update article example to use a header
This commit is contained in:
Lucas Larroche 2020-11-17 09:43:23 +07:00 committed by GitHub
commit 4c19be7e6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1023,11 +1023,13 @@
<pre><code>&lt;<b>article</b>&gt;I'm a card!&lt;/<b>article</b>&gt;</code></pre> <pre><code>&lt;<b>article</b>&gt;I'm a card!&lt;/<b>article</b>&gt;</code></pre>
<p>You can use <code>&lt;<b>header</b>&gt;</code> and footer <code>&lt;<b>footer</b>&gt;</code> inside <code>&lt;<b>article</b>&gt;</code></p> <p>You can use <code>&lt;<b>header</b>&gt;</code> and footer <code>&lt;<b>footer</b>&gt;</code> inside <code>&lt;<b>article</b>&gt;</code></p>
<article aria-label="Card sectioning example"> <article aria-label="Card sectioning example">
<header>Header</header>
Body Body
<footer>Footer</footer> <footer>Footer</footer>
</article> </article>
<pre><code>&lt;<b>article</b>&gt; <pre><code>&lt;<b>article</b>&gt;
&lt;<b>header</b>&gt;Header&lt;/<b>header</b>&gt;
Body Body
&lt;<b>footer</b>&gt;Footer&lt;/<b>footer</b>&gt; &lt;<b>footer</b>&gt;Footer&lt;/<b>footer</b>&gt;
&lt;/<b>article</b>&gt;</code></pre> &lt;/<b>article</b>&gt;</code></pre>