SifJar 0 Posted June 19, 2011 Report Share Posted June 19, 2011 (edited) 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. Edited June 19, 2011 by SifJar Quote Link to post Share on other sites
thescientist 231 Posted June 20, 2011 Report Share Posted June 20, 2011 I assume the answer was to use a <span>? Quote Link to post Share on other sites
Drycodez 4 Posted June 20, 2011 Report Share Posted June 20, 2011 (edited) 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! Edited June 20, 2011 by O. Samuel Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.