oldoc63 / learningHTML

Learning HTML with Codecademy and GitHub
0 stars 0 forks source link

Section and Article #70

Closed oldoc63 closed 2 years ago

oldoc63 commented 3 years ago

<section> defines elements in a document, such as chapters, headings, or any other area of the document with the same theme.

<section>
  <h2>Fun Facts About Cricket</h2> 
</section>
oldoc63 commented 3 years ago

The <article> element holds content that makes sense on its own. <article> can hold content such as articles, blogs, comments, magazines, etc.

<section>
  <h2>Fun Facts About Cricket</h2>
  <article>
    <p>A single match of cricket can last up to 5 days.</p>
  </article>
</section>
oldoc63 commented 3 years ago