0

How to color text

<font color=''blue''

19th Nov 2022, 1:48 PM
Drons Hailu
Drons Hailu - avatar
2 Antworten
+ 3
You can use the style attribute and css. <p style='color: red;'>Red</p>
19th Nov 2022, 1:57 PM
Lisa
Lisa - avatar
+ 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; }
19th Nov 2022, 2:13 PM
Binx
Binx - avatar