Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Comments on How do I color — some but NOT all — text in a sentence, in HTML5?
Post
How do I color — some but NOT all — text in a sentence, in HTML5?
My corporation has a discussion forum that uses HTML. I'm uncertain if this is HTML5, and if it also uses CSS.
<font color="red">Color this red.</font>
failed, probably because "The color attribute is not supported by HTML5".
<p style="color:red;">Red paragraph text</p>
worked. But this code DOESN'T answer my question — because I want just some but NOT ALL text, in a sentence, coloured. I don't want the whole para. colored!
3 comment threads