Reputation: 139
My background is black, so I want to make the text white. Currently I have a code, but it's not working. I also want to insert a pic, but it's still not working.
<title color="white">This is title</title>
Thank you.
Upvotes: 0
Views: 706
Reputation: 13910
The title tag is a mandatory html tag that defines the title of the document. You do not change the color or add pictures, more info here.
How to format text in html:
if you are trying to add text to your page and it's not showing try changing the color of the text, for example:
<h1 style="color:white"> Title Here</h1>
How to add picture in html:
<img src ="address to image"/>
Upvotes: 0
Reputation: 44828
You cannot set the color of the <title>
tag as it specifies the text displayed as the name of the page in Google/Bing/Yandex search results and in your browser's title. You cannot add any images as well.
Here you are some documentation on this tag.
I can guess, you want something like <h1>Title</h1>
.
Upvotes: 1