[whatwg] (IMG / CAPTION discussion)
alexey at feldgendler.ru
Wed Nov 22 02:59:51 PST 2006
On Mon, 20 Nov 2006 07:44:07 +0600, Scott Tankard <sptankard at gmail.com> wrote:
> <img id="img1" src="..." title="...">
> That is, an image with a tooltip. While this does contain the wanted benefits
> of nested elements, the obvious increase in sheer size (a bone for those who
> type their code without automation) is coupled with the difficulty of
> matching the tooltip with the element it describes. May I suggest:
> <img id="img1" src="..."> <tip>...</tip> </img>
Unfortunately, you can't do that with <img> in HTML without breaking the parsing of existing pages.
Also, I believe this should be "title", not "tip". The semantics of the markup is that the text is the title of the image, and the desire to dipsplay it as a tooltip is presentational.
Alexey Feldgendler <alexey at feldgendler.ru>
[ICQ: 115226275] http://feldgendler.livejournal.com
More information about the whatwg