HighDots Forums  

semantic structure of x/y

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss semantic structure of x/y in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ravidor
 
Posts: n/a

Default semantic structure of x/y - 04-17-2008 , 06:21 PM






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?

Reply With Quote
  #2  
Old   
dorayme
 
Posts: n/a

Default Re: semantic structure of x/y - 04-17-2008 , 06:43 PM






In article
<c6173552-99a1-4198-ab19-066ea4248eb3 (AT) y21g2000hsf (DOT) googlegroups.com>,
ravidor <ravidor (AT) gmail (DOT) com> wrote:

Quote:
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?
A list or a table are the correct tools.

List - There is some unclarity about ordered lists, but you may as well
choose OL for this task if the actual order is important in some way.
Forego using the built in list-styles, set this to none and just put the
number at the start of each list item.

Table - A 2-col table with the number in the fist col, the question
corresponding in the nxt col but in same row and so on down.

--
dorayme


Reply With Quote
  #3  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: semantic structure of x/y - 04-18-2008 , 04:26 AM



Scripsit ravidor:

Quote:
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/



Reply With Quote
  #4  
Old   
dorayme
 
Posts: n/a

Default Re: semantic structure of x/y - 04-18-2008 , 04:44 AM



In article <dPZNj.327820$s87.100313 (AT) reader1 (DOT) news.saunalahti.fi>,
"Jukka K. Korpela" <jkorpela (AT) cs (DOT) tut.fi> wrote:

Quote:
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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.