Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This Content sectioning (section, article, aside) worksheet is part of the HTML and CSS Journey journey. Print it as a booklet?
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1<section> <h2>Sports</h2> <p>Latest sport news.</p> </section> | AA self-contained piece of content - this match report could be syndicated or read independently of the surrounding page | |
| 2<article> <h3>Match report</h3> <p>Team A won.</p> </article> | B<aside> <h3>Related articles</h3> <a href="more.html">Read more</a> </aside> | |
| 3<article> is for self-contained content that could stand alone, like a blog post or news story | CTag names must be lowercase - <SECTION> and </SECTION> should be <section> and </section> | |
| 4<aside> holds supplementary content related to but not essential to the surrounding content | D<article> <h2>New product launch</h2> <p>Details here.</p> </article> | |
| 5<SECTION> <h2>Topic</h2> </SECTION> | E<aside> is for supplementary content, not primary content - use <article> or <section> for main content | |
| 6<aside>Main article content goes here.</aside> | FGroups thematically related content under a heading - the Sports topic has its own semantic section |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
<article> — A semantic HTML element for self-contained content that could stand alone, such as a blog post, news story, or forum entry.<section>
<h2>Blog</h2>
<p>Posts here.</p>
</section><article>
<h2>My Post</h2>
<p>Post content.</p>
</article><aside>
<h3>Related links</h3>
<p>See also.</p>
</aside><section id="news">
<h2>Latest</h2>
</section><section>
<article>
<p>Post.</p>
</article>
</section>