W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2016

Re: [whatwg] Proposal: <tag> element

From: Domenic Denicola <d@domenic.me>
Date: Tue, 31 May 2016 20:35:23 +0000
To: David Kendal <me@dpk.io>, WHAT Working Group <whatwg@whatwg.org>
Message-ID: <CY1PR0501MB1369829E9D2B216FCBCC1AA0DF460@CY1PR0501MB1369.namprd05.prod.outlook.com>
From: whatwg [mailto:whatwg-bounces@lists.whatwg.org] On Behalf Of David Kendal

> I would like to propose a new element for the HTML standard, <tag>.

Hi David; have you read https://wiki.whatwg.org/wiki/FAQ#Is_there_a_process_for_adding_new_features_to_a_specification.3F ? In particular, it's good to focus on use cases, instead of jumping straight to a solution. You've outlined some, so I'll go through why I think they are already covered by HTML:

> - Tags on a blog entry:
> - ‘Hashtags’ in a microblog posting:
> - Indications of what the topic of a news article is (roughly, what section of a print newspaper it is in):

These should be covered by the tag link relation: https://html.spec.whatwg.org/multipage/semantics.html#link-type-tag. You get additional user-facing value by linking to a description of the tag, or a collection of articles all of which share the same tag.

> - Labels on a dictionary entry or sense:

The preferred markup for this is the <dl>, <dt>, and <dd> elements.

> - Size and other product variant indicators in online shopping:

In general I don't think "product characteristics" is common enough to all web pages that it would need to be baked into HTML itself as an entirely new element. But, you could possibly interpret rel="tag" as applicable here too. Otherwise, I'd suggest creating your own microdata vocabulary for clothing sizes and other product characteristics. http://schema.org/ would be the place to start there; maybe some even already exist! Microdata is the recommended extensibility point for such domain-specific semantic vocabularies; you can learn more at https://html.spec.whatwg.org/multipage/microdata.html.

Received on Tuesday, 31 May 2016 20:35:54 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:38 UTC