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

[whatwg] Proposal of an <author> element

From: Nils Dagsson Moskopp <nils-dagsson-moskopp@dieweltistgarnichtso.net>
Date: Thu, 18 Dec 2008 12:36:08 +0100
Message-ID: <1229600168.4066.162.camel@desudesudesu>
Quotations in the context of an article usually consist of three
elements:

      * the actual quote
      * the author of the quote
      * the citation source

For two of these parts, there is markup; however, for the author, there
is none. I have no reason to believe that the author is of significantly
less importance than the citation source, and also no reason to assert
that the author is frequently omitted.

Not really citations (as in for use with the <blockquote> or <q>
element) may be multimedia elements that may or may never have appeared
in any other document: When marking them up, it may be desired to
specify an author but impossible to specify a work.

Also, there are cases, when the <cite> element isn't applicable,
especially when quoting speech that isn't part of a work (like J. Random
Politicians mutterings).

Therefore, I am proposing to add an <author> element to the spec.

==========

4.6.x The author element

Categories
	Phrasing content.

Contexts in which this element may be used:
	Where phrasing content is expected.

Content model:
	Phrasing content.

Element-specific attributes:
	None.

DOM interface:
	Uses HTMLElement.

The author element represents the author of a work (e.g. a person). The
work in question can be a work that is being quoted or referenced in
detail (i.e. a citation), or it can just be a work that is mentioned in
passing.

If found inside a legend element the cite element represents the author
for the rest of the contents of the legend element's parent element.


This next example shows the use of author alongside cite:

Yesterday I read <cite>The Picture of Dorian Gray</cite> another book
from <author>Oscar Wilde</author>, that tells the story of a man with
perfect makeup.


This next example shows the use of author alongside blockquote:

<blockquote>
	<p>I like cookies. We need more Cookie farms !</p>
</blockquote>
<author>Carl C. Monster</author>


This next example shows the use of author alongside figure:

<figure>
	<img src="http://example.org/longcat1.png"/>
	<img src="http://example.org/longcat2.png"/>
	<legend>Longcats in the wild. <author>J. Random. Luser</author> managed
to capture these rare specimen on film.</legend>
</figure>

==========


Greetings
-- 
Nils Dagsson Moskopp
<http://dieweltistgarnichtso.net>
Received on Thursday, 18 December 2008 03:36:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC