SifJar Posted June 19, 2011 Share Posted June 19, 2011 I was wondering how to put different colours of text on the same line in HTML.(e.g. like this)The only examples I have found use a <p> tag with a style="color:whatever;" attribute, and that takes a new paragraph, which isn't what I want.Any advice?EDIT: Nevermind. I realised I could look at the source of this post and worked out from there how to do it. Sorry to bother you people. Link to comment Share on other sites More sharing options...
thescientist Posted June 20, 2011 Share Posted June 20, 2011 I assume the answer was to use a <span>? Link to comment Share on other sites More sharing options...
Drycodez Posted June 20, 2011 Share Posted June 20, 2011 I assume the answer was to use a <span>?the currect format is:<span style="color:choose a colour">text</span>hope this help? I left css/html long ago and i think its time for me to start again! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.