Question:
how do i change the text color of a specific paragraph when everything is coded in CSS?
Tag1
2009-02-08 00:06:30 UTC
I have setup a custom profile on myspace where the text color is apparently dictated by CSS. I want to change the font color of one particular section only, and I tried the html
Six answers:
Mike
2009-02-08 00:18:25 UTC
At the beginning of the paragraph, put in

(replace thisparagraph with something related to the paragraph. At the end of the paragraph put in





Then in the CSS, put in #thisparagraph (once again, thisparagraph is a placeholder for whatever you name the id of the paragraph). Now, let's say you want the text to be blue, you could do



#thisparagraph {

color: #0000FF;

}



or



#thisparagraph {

color: blue;

}
anonymous
2016-10-15 08:48:36 UTC
Html Paragraph Color
Pervalicious
2009-02-08 00:18:35 UTC
First off, the


Anytime you want to apply color to just 1 section use the span tag so it looks like this:

section of text

The font color will only be applied to whatever is inside the span tags.
?
2016-02-27 07:31:26 UTC
"css done the code but want to change the text colour can alter size font size ext" ???? The words are English allright, but the order is less clear. Can you phrase your question in an English sentence please?
anonymous
2016-04-06 12:36:20 UTC
For the best answers, search on this site https://shorturl.im/awLvh



To change the color of font, the W3 suggests that we use "font-color" since just "color" refers to multiple objects. In W3 standards, this is correct: font-color: #FFFFFF This is incorrect: color: #FFFFFF However both will work as long as you specify properly. So if you are placing it directly in that block above, it will work. Good Luck! If you need any further assistance/advice, feel free to contact me.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...