[pmwiki-users] Note on tooltip options
Patrick R. Michaud
pmichaud at pobox.com
Fri Mar 17 20:02:27 CST 2006
On Sat, Mar 18, 2006 at 12:46:00AM +0000, Hans wrote:
> Saturday, March 18, 2006, 12:02:22 AM, Patrick wrote:
> > Also, is it important to make
> > a distinction between alt= and title= in images?
> Isn't alt also necessary for html validation? Perhaps it could be
> more encouraged.
> Attach:image.jpg"alternative text" | My Photo caption | hover title
PmWiki already makes sure that every <img> tag ends up with an alt=
attribute for html validation, even if it's just alt="".
> I see the hover title/tooltip always as an add on which will be not
> frequently used, whereas link text and caption will be.
> and if you want a hover text and no caption for an image:
> Attach:image.jpg"alt text" | | hover text
This is by far the best and most consistent formulation of
title and alt text handling that I've come across. Excellent.
Note that the caption option only exists for images that
start a line; there's not currently a way to get captions for
inline images. By similar considerations there wouldn't be a
way to add hover text onto an inline image except by using a
[[...]] link of some sort. But perhaps that's not too big
More information about the pmwiki-users