Semantically correct tag for posting a forum message

In HTML 5, the tag that should post in the forum is as semantically correct as possible?

  • <div>
  • <article>
  • <section>
  • Other?
+3
source share
4 answers

According to Working draft article

An element of an article is an autonomous composition in a document, page, application or website and is intended to be independently distributed or reusable, for example. in syndication. This can be a forum post , magazine or newspaper article, blog post, user comment, interactive widget or gadget, or any other independent content item.

+6

<blockquote> . <article> .

0

, <article> . ( > ), , .

.
< & GT;
    < >
      < > <h1 > </h1 > </ >
     
    </ >
    < >
      < header <h1 > 1 </h1 </header>
     
    </ >
    < >
      < > <h1 > </h1 > </ >
     
    </ >
</& GT;

-1

Source: https://habr.com/ru/post/1749394/


All Articles