- From: Foteos Macrides <MACRIDES@SCI.WFBR.EDU>
- Date: Fri, 11 Oct 1996 21:07:11 -0500 (EST)
- To: www-html@w3.org
Hans-Peter Stricker <stricker@zedat.fu-berlin.de> wrote:
>I wish to propose a new attribute for the <a>-tag, which will allow to
>display some kind of footnotes. This is how it should work:
>The source-code
>
><a footnote="some text">the footnoted text</a>
>[...]
This might be even better. You can use a number of freeware
browsers to try it. If you like it, encourage the W3C ERB to copy
it from the HTML 3.0 DTD, with the i18n stuff I've added, into the
HTML 3.2 DTD.
<!--======================== Footnotes ====================================-->
<!--
Typically rendered as popup note. These elements are referenced
by hypertext links specified with the anchor element.
-->
<!ELEMENT FN - - %body.content;>
<!ATTLIST FN %attrs; -- id, class, style, lang, dir -->
Footnotes
Permitted Context: %body.content, %flow, %block
Content Model: %body.content
The FN element is designed for footnotes, and when practical, rendered
as pop-up notes.
Example:
<DL>
<DT>Hamlet: <DD>You should not have believed me, for virtue cannot so
<a href="#fn1">inoculate</a> our old stock but we shall <a
href="#fn2">relish of it</a>. I loved you not.
<DT>Ophelia: <DD> I was the more deceived.
<DT>Hamlet: <DD>Get thee to a nunnery. Why wouldst thou be a breeder
of sinners? I am myself <a href="#fn2">indifferent honest</a> ...
</DL>
<fn id=fn1><i>inoculate</i> - graft</fn>
<fn id=fn2><i>relish of it</i> - smack of it (our old sinful
nature)</fn>
<fn id=fn3><i>indifferent honest</i> - moderately virtuous</fn>
Note: If %html.recommended is active, the HTML 3.0 DTD expects you to
enclose plain text in a block element such as <P> e.g.
<FN ID=fn23><P>A simple footnote</FN>
Permitted Attributes
ID
An SGML identifier used as the target for hypertext links or
for naming particular elements in associated style sheets.
Identifiers are NAME tokens and must be unique within the scope
of the current document.
LANG
This is one of the ISO standard language abbreviations, e.g.
"en.uk" for the variation of English spoken in the United
Kingdom. It can be used by parsers to select language specific
choices for quotation marks, ligatures and hypenation rules
etc. The language attribute is composed from the two letter
language code from ISO 639, optionally followed by a period and
a two letter country code from ISO 3166.
CLASS
This a space separated list of SGML NAME tokens and is used to
subclass tag names. By convention, the class names are
interpreted hierarchically, with the most general class on the
left and the most specific on the right, where classes are
separated by a period. The CLASS attribute is most commonly
used to attach a different style to some element, but it is
recommended that where practical class names should be picked
on the basis of the element's semantics, as this will permit
other uses, such as restricting search through documents by
matching on element class names. The conventions for choosing
class names are outside the scope of this specification.
STYLE
For fine tuning the style to achieve maximum sex appeal.
DIR
For internationalization.
Fote
=========================================================================
Foteos Macrides Worcester Foundation for Biomedical Research
MACRIDES@SCI.WFBR.EDU 222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================
Received on Friday, 11 October 1996 21:08:20 UTC