09-09-2013, 03:57 AM | #1 |
Registered User
Join Date: Jul 2013
Posts: 16
|
How to change background in HTML?
please tell me about how can i change background color of html page?
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
09-26-2013, 12:10 PM | #2 |
Registered User
Join Date: Sep 2013
Location: Kalamata, Greece
Posts: 53
|
with css:
body{background-color:#fff } //for white or body{background-color:#000 } //for black |
09-30-2013, 03:50 AM | #3 |
Registered User
Join Date: Jul 2013
Posts: 16
|
Hi you can change the backgrounds in html follow the code
<!DOCTYPE html> <html> <body style="background-color:yellow;"> <h2 style="background-color:red;">This is a heading</h2> <p style="background-color:green;">This is a paragraph.</p> </body> </html>
__________________
Get VPS Hosting, Dedicated Server, Web Hosting & Cloud Hosting Services from To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
10-01-2013, 04:18 AM | #4 |
Registered User
Join Date: Sep 2013
Posts: 345
|
you can also try this....<body bgcolor="teal">....
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
10-09-2013, 03:33 AM | #5 |
Registered User
Join Date: Sep 2013
Posts: 86
|
you can try this
<html> <body bgcolor="#E6E6FA"> <h1>Hello world!</h1> </body> </html> or you can visit:: w3schools.com/tags/att_body_bgcolor.asp
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
12-27-2013, 02:54 AM | #6 |
Registered User
Join Date: Dec 2012
Posts: 13
|
you can change the backgrounds in html follow the code
<!DOCTYPE html> <html> <body style="background-color:yellow;"> <h2 style="background-color:red;">This is a heading</h2> <p style="background-color:green;">This is a paragraph.</p> </body> </html> very good
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. , To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. giá rẻ uy tín- To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
01-31-2014, 10:05 AM | #7 |
Registered User
Join Date: Jan 2014
Posts: 46
|
Hi, you can also try this....<body bgcolor="teal">....
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
02-04-2014, 05:02 AM | #8 |
Registered User
Join Date: Feb 2014
Location: Delhi, India
Posts: 16
|
You can use <body style:"background-color:red" > command. Any preferred color you like. Hexadecimal codes are available on internet.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
02-04-2014, 05:10 AM | #9 |
Registered User
Join Date: Feb 2014
Posts: 541
|
You can add background as:-
<html> <body style="background-color:red;"></body> </html>
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
03-25-2014, 11:12 PM | #10 |
Registered User
Join Date: Mar 2014
Posts: 71
|
bg image
We can change the background the image set the path of image in the body.....
|
03-30-2014, 02:21 PM | #11 |
Registered User
Join Date: Mar 2014
Posts: 19
|
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; }
__________________
Mega Business Solutions! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
03-30-2014, 11:50 PM | #12 |
Registered User
Join Date: Mar 2014
Posts: 71
|
Background Color
We can change the background color with the help of setting of property of the background....................
|
04-16-2014, 11:26 PM | #13 |
Registered User
Join Date: Jan 2014
Posts: 176
|
You can change it from bgcolor attribute or body{background-color:-----} from CSS file.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
05-15-2014, 03:04 AM | #14 |
Registered User
Join Date: Nov 2013
Posts: 92
|
With the background option on the style tag , you can easily change the back ground of the web pages.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
05-22-2014, 05:13 PM | #15 |
Registered User
Join Date: Apr 2014
Location: Las Vegas, NV
Posts: 242
|
If you want to strictly use HTML for the background color you can use:
<!DOCTYPE html> <html> <body bgcolor="#008ED0"> </body> </html>
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frame background problem | ncjbhd | HTML / DHTML | 27 | 05-18-2015 11:52 PM |
HTML 5 and HTML 4 | johnhedberg3 | HTML / DHTML | 3 | 06-16-2012 04:08 AM |
Differences with HTML 4 and HTML 5 | danielnelson | HTML / DHTML | 11 | 06-10-2012 09:21 PM |
1.Basic distinguishing features of HTML 4 and HTML 5 | rooseveltjobs | HTML / DHTML | 0 | 04-12-2012 10:00 PM |
change html link based on combobox selection | mjvndhsb | Javascript | 0 | 09-19-2011 12:53 AM |