473,396 Members | 1,849 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

semantic structure of x/y

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
2 1414
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Richard Cornford | last post by:
I am interested in hearing opinions on the semantic meaning of FORM (elements) in HTML. I have to start of apologising because this question arose in a context that is not applicable to the...
3
by: pr10n | last post by:
Hello, all! I'm working on a personal blog and I'm trying to make it's markup more semantic, using the right elements, removing needless div's and so on. I was wondering if someone would be kind...
7
by: dayzman | last post by:
Hi, Does anyone know of any application, or simply any development, on extracting semantic structure of HTML pages? Cheers, Michael
2
by: dayzman | last post by:
Hi, I'm in need of a program that extracts the semantic structure of HTML pages -- a program that groups paragraphs with the corresponding headings etc. I know it's not too difficult to extract...
3
by: dayzman | last post by:
Hi, I'm interested in projects evolve about extracing semantic structure of HTML documents. What I mean by extracting semantic structure is to analyse HTML doc and outputs a model (perhaps a...
3
by: dayzman | last post by:
Hi, I've read somewhere that feature-based analysis can be used to extract the semantic structure of HTML documents. By semantic structure, they mean the model of the rendered view a reader...
135
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
1
by: Scott Abel | last post by:
Tony Self of HyperWrite presents an interesting and informative article entitled "Semantic, Structured Authoring: The Challenge for Technical Writers" that is sure to be of use to many technical...
12
by: rshepard | last post by:
I'm a bit embarrassed to have to ask for help on this, but I'm not finding the solution in the docs I have here. Data are assembled for writing to a database table. A representative tuple looks...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.