Hello,

On 11/14/06, Charles Iliya Krempeaux <[EMAIL PROTECTED]> wrote:

Hello,

On 11/1/06, Charles Iliya Krempeaux <[EMAIL PROTECTED]> wrote:
>
> Hello Christoph,
>
> On 11/1/06, Christoph Päper < [EMAIL PROTECTED]> wrote:
> >
> > *Henri Sivonen*, 2006-10-29:
> >
> > >> http://blog.fawny.org/2006/10/28/tbl-html/
> > >
> > >>     * HTML has samp, var, and kbd. I use all of them and I am
> > >> pretty much the only one who does.
> > >
> > > FWIW, I think <samp> and <kbd> don't deserve to be in HTML and I am
> > > not convinced that the use cases for <var> could not be satisfied
> > > by <i>.
> >
> > I consider
> >
> >    <a href="foo.xga"><samp><img src="foo.qvga" alt="Foo"></ samp></a>
>
>
Thinking about it some more, something like the <q> element may be useful
as well for marking thumbnails.

So, you might have something like this...

<a type="video/mpeg" href="http://example.com/video/123";>
  <q cite="http://example.com/video/123 ">
    <img src="http://example.com/thumbnail/123"; />
  </q>
</a>

(Although you'd probably want to add a "quotes:none;" to that <q> element,
since some browsers wrap a <q> with quotes.)

One would know that the <img> is from the video because the URL in "cite"
attribute (for the <q> element) matches the URL in the "href" attribute (of
the <a> element.)



Doing it this way (with the <q> element instead of the <samp> element) would
also allow you to take the thumbnail outside of the link.  So, for
example...

<q cite="http://example.com/video/123 ">
   <img src="http://example.com/thumbnail/123"; />
</q>
<a type="video/mpeg" href="http://example.com/video/123";>[download]</a>

The "cite" attribute (of the <q> element) and the "href" attribute (for the
<a> element) could still be matched up to find thumbnail, in this
configuration too.


See ya

--
   Charles Iliya Krempeaux, B.Sc.

   charles @ reptile.ca
   supercanadian @ gmail.com

   developer weblog: http://ChangeLog.ca/

Reply via email to