W3C home > Mailing lists > Public > www-html@w3.org > August 1999

dir attribute in LINK

From: Nir Dagan <nir@nirdagan.com>
Date: Thu, 5 Aug 1999 12:18:36 +0300 (Israel Daylight Time)
To: www-html@w3.org
cc: www-international@w3.org
Message-ID: <Pine.WNT.4.10.9908051158240.-204365@zira.huji.ac.il>

The HTML4.0 spec. [1] suggests that the dir attribute in LINK 
refers to the directionality of the linked resource.
This is very different from the lang attribute that refers to the
language of the title attribute (and hreflang refers to that
of the linked resource)

It seems to me that 

1. It would make more sense that dir would refer to the title 
attribute's directionality.

2. In order to refer to directionality of linked resources 
 we need a new attribute, e.g., hrefdir

3. It is not clear from the description[2] of dir whether it
actually affects attribute values (such as title, alt in IMG
etc.) I think it should.

[1]
In  
http://www.w3.org/TR/REC-html40/struct/links.html#edef-LINK
we find:

"...Note the use of the dir and charset attributes for the Arabic
manual
...
<LINK title="The manual in Arabic"
      dir="rtl"
      type="text/html"
      rel="alternate"
      charset="ISO-8859-6"
      hreflang="ar" 
      href="http://someplace.com/manual/arabic.html">
..."

[2] http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.2

Nir Dagan

http://www.nirdagan.com
mailto:nir@nirdagan.com
tel:+972-2-588-3143
Received on Thursday, 5 August 1999 05:20:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:39 GMT