[whatwg] [web-apps] 2.7.8 The i element

Ian Hickson wrote:
>>>Movie titles are similar. I'd like my UA to give me a tooltip 
>>>containing information from IMDB for every movie title. With user 
>>>JavaScript I can do this, if there's a way to recognise movie titles.
>>
>>Then would you want different markup for book titles, movie titles, play 
>>titles, song titles, etc?  Or would you just expect the script to search 
>>IMDB for anything marked up with <cite>?
> 
> Again, I don't really know. I could see a use case for a "type" attribute 
> (as was suggested earlier in this thread), but that seems like a slippery 
> slope. Suggestions?

You will need a type attribute of some kind if you are to handle the
different typographic conventions for e.g. books vs. articles. Book
titles are italicized: article titles are put in quotes. Parallel
distinctions exist for other types of creative works.

~fantasai

Received on Saturday, 16 April 2005 11:31:01 UTC