සිංහල |  தமிழ் |  English

Blog

ictict

HTML font color to match background image

when doing html if the word are not clear with the background picture cant we just change the font color as we like?

Comments

you can, put following style. body { color:red } You can replace -Red- with desired color...

Hi, You can change font colour as u want in HTML as follows, ex:

This is some text!

refer more : http://www.w3schools.com/

Comment author woman

your text use http://www.w3schools.com/ for learn html

Comment author woman

Yes, but you have to add some effects for the text background, otherwise it will not highlighted on your background. BR, Yapa

Comment author woman

yes u can with < font color=yellow> your text

Comment author woman

We can change the font colour using the tag as follows: Your Text Otherwise using CSS we can change as follows:

Your Text

Comment author woman

The best way to correct this problem is to use a style to change only the background of the text. Eg

Sample

Eles use a CSS -hover,that will change only when mouse is over.

Comment author woman

To change the text colour use Sample but the best way to correct this problem is to use styles. eg

Sample

or you can use a hover in CSS.

Comment author woman

Yes you can do that

  • Your Reply


avatar


Images must be in JPG or PNG formats (max 3 MB)

 Edexcel and Cambridge Chemistry 

online chemistry
online chemistry