W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] <comment> element in HTML5 Spec?

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Mon, 13 Dec 2010 19:54:44 +0000
Message-ID: <AANLkTikiNFD+-5tUvVD6eqsyojwbXqKpAB9MO7b3HuNk@mail.gmail.com>
On Mon, Dec 13, 2010 at 6:49 PM, Richard Summers
<Richard.Summers at bbc.co.uk> wrote:
> I was
> wondering, is there any plan to implement a <comment> element within the
> HTML5 spec?

"comment" isn't an available element name for historical reasons:


> I?m suggesting this as a complimentary element to the <article>
> element.
> I believe it could be useful as it could be used to differentiate between
> audience generated content and article-author generated content. This could
> enable search engines to differentiate between the 2 types of content, and
> weigh them differently in different searches. Semantically and structurally,
> something like this seems to make sense.

Search engines wanting to do this could distinguish between "article"
instances and sub-"article" instances:

"When article elements are nested, the inner article elements
represent articles that are in principle related to the contents of
the outer article. For instance, a blog entry on a site that accepts
user-submitted comments could represent the comments as article
elements nested within the article element for the blog entry."


The "address" element could be used to distinguish contributors:

"The address element represents the contact information for its
nearest article or body element ancestor."


Benjamin Hawkes-Lewis
Received on Monday, 13 December 2010 11:54:44 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC