By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,045 Members | 1,389 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,045 IT Pros & Developers. It's quick & easy.

semantic structure of x/y

P: n/a
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?
Jun 27 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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 <spanand 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/

Jun 27 '08 #2

P: n/a
In article <dP*********************@reader1.news.saunalahti.f i>,
"Jukka K. Korpela" <jk******@cs.tut.fiwrote:
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.
This is in fact untrue in one sense. You can *really* express the
meaning of the numbers here (Op's was just an example) in a table.

If it is the actual number that OP is concentrating on, then my earlier
suggestions (which had the focus of the whole number and associated
questions (see OP's original post) needs to be modified. A table is the
*most semantic* way to proceed with three columns, the leftmost (in
normal English practice), being for the likes of the 6, the second
column, being for the 18 and the third for the associated question. the
column headings, explicit or implied would say it all.

--
dorayme
Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.