![]() |
How to change background in HTML?
please tell me about how can i change background color of html page?
|
with css:
body{background-color:#fff } //for white or body{background-color:#000 } //for black |
Hi you can change the backgrounds in html follow the code
This is a headingThis is a paragraph. |
you can also try this........
|
you can try this
Hello world!or you can visit:: w3schools.com/tags/att_body_bgcolor.asp |
you can change the backgrounds in html follow the code
This is a headingThis is a paragraph. very good |
Hi, you can also try this........
|
You can use command. Any preferred color you like. Hexadecimal codes are available on internet.
|
You can add background as:-
|
bg image
We can change the background the image set the path of image in the body.....
|
to use any image as background for your website with css you can use
bode { background: url(location-of-imags/image-name.jpg) center no-repeat; } |
Background Color
We can change the background color with the help of setting of property of the background....................
|
You can change it from bgcolor attribute or body{background-color:-----} from CSS file.
|
With the background option on the style tag , you can easily change the back ground of the web pages.
|
If you want to strictly use HTML for the background color you can use:
|
All times are GMT -7. The time now is 12:34 AM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.