473,386 Members | 1,817 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,386 software developers and data experts.

Tag Cloud

Hello,

What is the correct markup and CSS styles to create a Tag Cloud?

Should I place each tag inside a list item of an ordered list and
style the list item with a different CSS class according to the tag
frequency to change its size and color?

Does anyone knows a good article on this?

Thanks,
Miguel
Aug 24 '08 #1
4 2412
shapper <md*****@gmail.comwrites:
Hello,

What is the correct markup and CSS styles to create a Tag Cloud?

Should I place each tag inside a list item of an ordered list and
style the list item with a different CSS class according to the tag
frequency to change its size and color?
If you have a real ordering of relevance/frequency/whatever the best
way to markup the list is probably to use an ordered list. It seems to
me that you've thought this through better than most people would. In
any case, HTML is very limited, and I don't think you will find any
markup that would be objectively better, just because there is no way
to objectively markup relevance, frequencey or whatever.
Does anyone knows a good article on this?
I don't. But that's just a single data point.

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
Aug 24 '08 #2
"shapper" <md*****@gmail.comwrote in message
news:cf**********************************@z66g2000 hsc.googlegroups.com...
Hello,

What is the correct markup and CSS styles to create a Tag Cloud?

Should I place each tag inside a list item of an ordered list and
style the list item with a different CSS class according to the tag
frequency to change its size and color?
Yes
Does anyone knows a good article on this?
http://24ways.org/2006/marking-up-a-tag-cloud

Aug 25 '08 #3
Nik Coughlin schreef:
"shapper" <md*****@gmail.comwrote in message
news:cf**********************************@z66g2000 hsc.googlegroups.com...
>Hello,

What is the correct markup and CSS styles to create a Tag Cloud?

Should I place each tag inside a list item of an ordered list and
style the list item with a different CSS class according to the tag
frequency to change its size and color?

Yes
>Does anyone knows a good article on this?

http://24ways.org/2006/marking-up-a-tag-cloud
My 2 cents for the Technorati solution. I think embedding <em>s makes
sense even though the author criticises it. Putting emphasis on
something that has emphasis can be done perfectly. And the argument
about <strongmakes sense in such a way that there is no need for a
<strongelement. Even nicer would have been an optional parameter
stating the amount of emphasis. Like <em strength="5"(with a default
of 1 maybe). But as long that is not part of the HTML standard I would
stay with embedding them.

--
http://www.archytas.nl/
webdesign, internet applicaties, internetgestuurde elektronica
Aug 27 '08 #4
Roderik wrote:
Nik Coughlin schreef:
>"shapper" <md*****@gmail.comwrote in message
news:cf**********************************@z66g200 0hsc.googlegroups.com...
>>Hello,

What is the correct markup and CSS styles to create a Tag Cloud?

Should I place each tag inside a list item of an ordered list and
style the list item with a different CSS class according to the tag
frequency to change its size and color?

Yes
>>Does anyone knows a good article on this?

http://24ways.org/2006/marking-up-a-tag-cloud

My 2 cents for the Technorati solution. I think embedding <em>s makes
sense even though the author criticises it. Putting emphasis on
something that has emphasis can be done perfectly. And the argument
about <strongmakes sense in such a way that there is no need for a
<strongelement. Even nicer would have been an optional parameter
stating the amount of emphasis. Like <em strength="5"(with a default
of 1 maybe). But as long that is not part of the HTML standard I would
stay with embedding them.
Not too familiar with tag clouds, but if you want link characteristics
sized link to some popularity that is a styling issue. This "strength"
attribute regressive back to presentational HTML.

Better:

a.whisper {
font-size: .8em;
volume: soft; /* if you want the effect for the blind */
}

a.announce {
font-size: 1em;
volume: medium; /* if you want the effect for the blind */
}

a.shout {
font-size: 1.5em;
volume: loud; /* if you want the effect for the blind */
}

a.bellow{
font-size: 2.5em;
font-weight: bolder;
volume: x-loud; /* if you want the effect for the blind */
pitch-range: low;
}

a.screech{
font-size: 1.5em;
font-style: italic;
volume: loud; /* if you want the effect for the blind */
pitch-range: high;
}
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Aug 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: lkrubner | last post by:
I apologize for being a bit dense, but I'm trying to wrap my head around the sentence "Its purpose is to allow processes to register with a cloud to be notified of updates to the channel,...
6
by: Sharon | last post by:
Hi all, I need to implement tags cloud. I get a collection of tags that have tag text and the number of times this tag is been used: , 52 , 43 , 52 And so on... How can i attach a font size...
0
by: yawnmoth | last post by:
According to <http://www.rssboard.org/rss- specification#ltcloudgtSubelementOfLtchannelgt>, " specifies a web service that supports the rssCloud interface which can be implemented in HTTP-POST,...
0
by: treelovinhippie | last post by:
hi I have a bunch of video categories, and I'm trying to make a simple tag cloud of the available categories (with the larger sized category having the most videos in it) This code already...
1
deephill
by: deephill | last post by:
hi i need cloud tags for my website. how to create??? please tell me how to make. is there any script to try. thank you,
14
by: Aaron Watters | last post by:
So, in between skiing runs I noticed a Business Week cover story on "cloud computing". The article had lots of interesting information in it like about how somebody's mom used to be an airline...
1
by: Bill Fuller | last post by:
Is anyone familier with Amazon's Elastic compute cloud for hosting applications? It appears to be UNIX based. I am wondering if anyone is familier with something similar for utility computing for...
0
by: knorth | last post by:
The DataServices World conference offers a program for those interested in technology for data integration and data access, with emphasis on service-oriented architecture (SOA), web-oriented...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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,...

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.