How can we add Colours in the Title? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How can we add Colours in the Title?

I want to add colours int the Title of my html file. How can I do that?

28th Aug 2017, 11:52 AM
Mohd Zaid
Mohd Zaid - avatar
3 Answers
+ 7
There is no use of trying. The title of a document will not be displayed on a website. Unless you mean the heading shown. As in, the <h(x)>tags. Then it is easy to use CSS
28th Aug 2017, 12:08 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 14
background-color:black; color:black;
28th Aug 2017, 12:04 PM
Nithiwat
Nithiwat - avatar
+ 2
Colors can not be added to anything within the <head> </head> this is a choice for the browser to choose what color it want it to appear . while you can chose a color you want for everything within the <body> </body> section. it is recommended to use CSS for this. (property:value; = color:red;)
28th Aug 2017, 9:25 PM
Keleos William
Keleos William - avatar