- From: Charles Iliya Krempeaux <supercanadian@gmail.com>
- Date: Tue, 14 Nov 2006 23:50:15 -0800
Hello, On 11/14/06, Charles Iliya Krempeaux <supercanadian at gmail.com> wrote: > > Hello, > > On 11/1/06, Charles Iliya Krempeaux <supercanadian at gmail.com> wrote: > > > > Hello Christoph, > > > > On 11/1/06, Christoph P?per < christoph.paeper at crissov.de> 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/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20061114/57c9c9a2/attachment.htm>
Received on Tuesday, 14 November 2006 23:50:15 UTC