0
How to color text
<font color=''blue''
2 Respostas
+ 3
You can use the style attribute and css.
<p style='color: red;'>Red</p>
+ 1
<font> is HTML4 tag which is not supported in HTML5 you may use inline css styling, style tag or link a css file.
Lisa has mentioned the inline styling.
Using style tag inside body or head:
<style>
tag_name{
color:blue;
}
</style>
linking a css file is done in this way (inside head) :
<link href="location of file saved with .css extension>
suppose the file is style.css:
tag_name{
color:blue;
}