[thelist] Marking up words in colours

David Laakso david at chelseacreekstudio.com
Sat Jan 19 01:57:02 CST 2008

John Allsopp wrote:
> Hi people
> If I wanted to make multicoloured words throughout a page, for instance 
> if I wanted to give 'multicoloured' a green 'm', blue 'u', yellow 'lt' 
> and so on, how would I best mark that up?
> It seems to me I'd wreck any chance of searching on the text whatever 
> I'd do. But for my application it might be worthwhile. So what would be 
> least disruptive?
> I mean <span class='green'>m</span><span class='blue'>u</span> etc is a 
> real mess and makes a mockery of markup removing style from content.
> Is there a way of just doing less typing? Or should I be forgetting html 
> and using something else like svg or maybe an image with the coloured 
> text, with plain text by the side.
> Thoughts?
> J

Start with a doctype [1]?


More information about the thelist mailing list