SifJar 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 Link to comment Share on other sites More sharing options...
thescientist Posted June 20, 2011 Report 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 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now