Task one: Div section article differences

Source: Internet
Author: User

Div: nothing to say

Article is a special section tag, which is more detailed than the section, it has more explicit semantics than sections, it represents a separate, complete related content block, general symbolizing, can be separated from the context of the existence, even if detached, meaning is still intact And the section is a part of the overall existence. They are mainly based on examples to differentiate their usage:

<article>

<hgroup>

    <h1>apples</h1>

<h2>tasty, delicious fruit! </h2>

</hgroup>

< Span class= "Hljs-title" > <p>the Apple is the pomaceous fruit of the apple tree. </p>

< Span class= "Hljs-title" > < Span class= "Hljs-tag" > <SECTION>

< Span class= "Hljs-title" > < Span class= "Hljs-tag" > <h1>Red Delicious</H1>

< Span class= "Hljs-title" > < Span class= "Hljs-tag" > <p>These Bright red apples is the most common found in many supermarkets. </p>

< Span class= "Hljs-title" > < Span class= "Hljs-tag" > < Span class= "Hljs-title" > </section>

< Span class= "Hljs-tag" > < Span class= "Hljs-title" > < Span class= "Hljs-tag" > <section

< Span class= "Hljs-tag" > < Span class= "Hljs-title" > < Span class= "Hljs-tag" > <h1>granny smith</ H1>

< Span class= "Hljs-tag" > < Span class= "Hljs-title" > < Span class= "Hljs-tag" > <p>These Juicy, green apples make a great filling for apple pies. </p>

< Span class= "Hljs-tag" > < Span class= "Hljs-title" > < Span class= "Hljs-tag" > </section >

< Span class= "Hljs-tag" > < Span class= "Hljs-title" > < Span class= "Hljs-tag" > </article >

Task one: Div section article differences

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.