- From: Alexey Feldgendler <alexey@feldgendler.ru>
- Date: Tue, 14 Nov 2006 09:43:58 +0600
On Mon, 13 Nov 2006 22:30:13 +0600, Jeff Seager <Jeff.Seager at wvdrs.org> wrote: > After reflecting on your points and others, Alexey, I do expect more of > a caption than I expect of a simple attribute. Most importantly, I > expect it to be visible by default if I have a visible picture. For that > reason, I agree now with those who suggest a CAPTION (or LEGEND) > element, rather than an attribute. I totally agree with you here. I believe HTML should have an element for every attribute intended to hold human-readable text. A raw idea can go like this: <img id="img1" src="..."> <label for="img1" type="title">...</label> Here, <label> holds a value which should be treated the same way like the title attribute on <img>, except that it can contain nested markup. This would be useful for all attributes defined as %Text in HTML -- in HTML4, these are ABBR, ALT, LABEL, STANDBY, SUMMARY, TITLE. However, doing a full straightforward solution like this may be bad for backward compatibility, especially in the case of ALT. But the idea is: whenever we write an attribute of type %Text, we want text with markup, so an element instead of attribute is needed. -- Alexey Feldgendler <alexey at feldgendler.ru> [ICQ: 115226275] http://feldgendler.livejournal.com
Received on Monday, 13 November 2006 19:43:58 UTC