Computer Science, asked by harnoor1, 1 year ago

how add color to just a single line in html document by style tag


dikshaverma4you: U mean by background colour na ?

Answers

Answered by iwritecode
0
http://www.w3schools.com/html/html_css.asp

harnoor1: i open that link but i unable to understand please give me full answer
Answered by dikshaverma4you
1
BG color is used under body tag.............. < body bgcolor= "black">

dikshaverma4you: Hey plzz mark it as best...
harnoor1: bg tag give colour to whole html document not just single line
dikshaverma4you: Oh yeah.... Is there any tag to apply color in a single line only ?
dikshaverma4you: I think this will work....
dikshaverma4you: <pstyle="color= yellow"> I think this will help... Just try it out
dikshaverma4you: http://googleweblight.com/?lite_url=http://stackoverflow.com/questions/6913234/how-to-set-different-colors-in-html-in-one-statement&ei=66Z8cHIG&lc=en-IN&s=1&m=956&host=www.google.co.in&ts=1460469002&sig=APY536xXyYtHQK7XYEb8kCEiPZSjqC0wpA..........
dikshaverma4you: Just go to this link first... Hope it helps
Similar questions