Lang attribute missing on element HR

I believe this is an oversight on the part of the author(s) of the HTML4 DTD
[1].

The language of attribute values and content is given by the lang attribute:
>The lang attribute specifies the language of element content and
>attribute values; whether it is relevant for a given attribute
>depends on the syntax and semantics of the attribute and the
>operation involved. [2]

The LANG attribute does not apply to HR [3], yet the TITLE [4] attribute
does. How does one specifiy the language of the title? I have started using
title's on HRs at the suggestion of the WAI [5], and in one of my bylingual
pages [6] I needed to add the following in an english section:

<HR ID=ENDDIVIDER TITLE="Fin" lang=fr>

nsgmls [7] with html4-s.dtd correctly complained that 'there is no attribute
lang on that element'.

Note that lang *is* actually listed underneath the HR definition, under
"Attributes defined elsewhere". Presumably this just means that %i18n [8]
was accidentally left out from the declaration of HR in the DTD.

What's the verdict?


References:
[1] HTML4 DTD can be found at:
http://www.w3.org/TR/REC-html40-971218/strict.dtd
[2] This is the paragraph following the list in section 8.1 of the HTML4
spec. http://www.w3.org/TR/REC-html40-971218/struct/dirlang.html#h-8.1
[3] http://www.w3.org/TR/REC-html40-971218/present/graphics.html#h-15.3
[4] http://www.w3.org/TR/REC-html40-971218/struct/global.html#h-7.4.3
[5] http://www.w3.org/WAI/ (?) I'm offline at the moment and it's not in my
cache :-(
[6] At the bottom of
http://www.bath.ac.uk/~exxieh/alevel/FrenchPolitics.html (the uploaded
version is still missing the lang attributes, etc).
[7] http://www.jclark.com/
[8] http://www.w3.org/TR/REC-html40-971218/sgml/dtd.html#i18n

--
Ian Hickson
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12   Info: www.geekcode.com
GIT/M/S d->-- s+: a--->? C++(+++)>$ U>*++++ P L+>+++++ E(+)>+++ W+++ N(+) o?
K? w@ O- !M V- PS+ PE- Y+ PGP>+ t 5+++>++++ X- R+(+++) tv b++(+++) DI++
D++(---)>++++ G>+++ e(*)>+++++ h!()(--) !r y?
------END GEEK CODE BLOCK------

Received on Tuesday, 12 May 1998 03:22:44 UTC