Re: [XHTML] @show on <a/>

On 3/7/06, Asbjørn Ulsberg <asbjorn@tigerstaden.no> wrote:
> On Mon, 27 Feb 2006 05:15:56 +0100, Orion Adrian <orion.adrian@gmail.com>
> wrote:
>
> > Better would be rel="external site"; rel="alternate media"; or some
> > other meaningful values that would allow the user through the UA to
> > produce meaningful logic (e.g. if it's a link to another site, keep it
> > in the window; if it's an enlarged version of the same content, open
> > in a popup).
>
> I agree that this is a better solution than adding a new attribute,
> although the value should -- if it consists of several words -- be
> hyphenated and not contain spaces. Spaces usually separates several
> different values in attributes (think of the 'class' attribute for
> instance).
>
> So it should be 'rel="external-site"', 'rel="alternate-media"' etc.
> Infact, the values 'alternate' and 'related' exists already, and their
> semantics could probably be defined for this use in HTML. See
> <http://www.iana.org/assignments/link-relations>.

What about "alternate stylesheet"? My goal was to use combined
modifier classes (alternate, external) in addition to it's main type
(site, media). Though site, in retrospect, should probably be document
or something document-like.

--

Orion Adrian

Received on Tuesday, 7 March 2006 12:01:10 UTC