473,800 Members | 2,640 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2443
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******** *************** ***********@z66 g2000hsc.google groups.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******** *************** ***********@z66 g2000hsc.google groups.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
<strongelemen t. Even nicer would have been an optional parameter
stating the amount of emphasis. Like <em strength="5"(wi th 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, internetgestuur de elektronica
Aug 27 '08 #4
Roderik wrote:
Nik Coughlin schreef:
>"shapper" <md*****@gmail. comwrote in message
news:cf******* *************** ************@z6 6g2000hsc.googl egroups.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
<strongelemen t. Even nicer would have been an optional parameter
stating the amount of emphasis. Like <em strength="5"(wi th 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
1456
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, implementing a lightweight publish-subscribe protocol for RSS feeds." When they say "cloud" do they just mean a program running on a server?
6
2569
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 to each tag? Any ideas or links.
0
1616
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, XML-RPC or SOAP 1.1." According to <http://www.rssboard.org/rsscloud-interface#client>, though, you must use "the string "xml-rpc" if the client employs XML- RPC or "soap" for SOAP". So what if you want to use HTTP-POST? The first link implies...
0
1216
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 generates a loop of all the categories, I just can't workout how to have this also lookup the number of entries in each category and then spit that out as an array (trying to use this code for the tag cloud:...
1
5394
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
2709
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 stewardess and the interior decor of various office spaces. It was a truly excellent piece of journalism.
1
1840
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 C#/Winforms (ClickOnce), SQL Server 2005 applications?
0
1698
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 architecture (WOA) and cloud computing solutions. Presenting the program are experts and thought leaders from the University of California, IBM, Adobe Systems, Yahoo!, Reuters, Oracle, salesforce.com, DataDirect Technologies, Netrics and m2mi...
0
9690
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10501
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10273
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10250
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5603
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2944
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.