Open
0
How come "font color" attribute working in <hr/> tag but not in <p> ?
Maybe the answer is obvious , but i am still learning . here is the code i used <hr font color = "red" width="100px" /><!-- this one is copied --> <p font color = "red" ><sup>So</sup> it seems I can but also can't change the colour of the font by font colour attribute</p> so , what is wrong ?
1 Answer
+ 7
hi there, your answer is your next lessons but the statement should be like this :
<hr style=" border-color: red">
<p style="color: red" >bla bla some text here</p>
it's inline style but the color also could be controlled with css codes.
hope it helps,
have nice learning times.