Afficher un message
Vieux 18/04/2008, 10h26   #2
Jukka K. Korpela
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: semantic structure of x/y

Scripsit ravidor:

> I need to display the number of a question out of total number of
> questions (example 6/18). What HTML tags should I use to build it
> semantically?


There is no markup in HTML for expressing such relationships. Anything
you might build with <span> and class would be just your private
convention, though perhaps useful for styling.

However, at the text level, I would suggest using an expression like "6
(of 18)" or something similar. The slash "/" is heavily overloaded with
multiple and often conflicting meanings in text. Specifically, 6/18 is
could be a date (June 18), or a fraction (= 1/3), for example.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

  Réponse avec citation
 
Page generated in 0,04606 seconds with 9 queries