Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > HTML / DHTML

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 09-09-2013, 04:57 AM   #1
keepquiet
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.
keepquiet is offline   Reply With Quote

Old 09-26-2013, 01:10 PM   #2
jordan_rap13
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
jordan_rap13 is offline   Reply With Quote
Old 09-30-2013, 04:50 AM   #3
Andrewhudson040
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.
Andrewhudson040 is offline   Reply With Quote
Old 10-01-2013, 05:18 AM   #4
jtindia
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.
jtindia is offline   Reply With Quote
Old 10-09-2013, 04:33 AM   #5
amitsharma11
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.
amitsharma11 is offline   Reply With Quote
Old 12-27-2013, 02:54 AM   #6
truongsinhnb
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.
truongsinhnb is offline   Reply With Quote
Old 01-31-2014, 10:05 AM   #7
soufianYH
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.
soufianYH is offline   Reply With Quote
Old 02-04-2014, 05:02 AM   #8
mtubuzz
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.
mtubuzz is offline   Reply With Quote
Old 02-04-2014, 05:10 AM   #9
anuverma1
Registered User
 
Join Date: Feb 2014
Posts: 561
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.
anuverma1 is offline   Reply With Quote
Old 03-26-2014, 12:12 AM   #10
simar
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.....
simar is offline   Reply With Quote
Old 03-30-2014, 03:21 PM   #11
mikhapop
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.
mikhapop is offline   Reply With Quote
Old 03-31-2014, 12:50 AM   #12
simar
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....................
simar is offline   Reply With Quote
Old 04-17-2014, 12:26 AM   #13
shubhamgautam
Registered User
 
Join Date: Jan 2014
Posts: 179
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.
shubhamgautam is offline   Reply With Quote
Old 05-15-2014, 04:04 AM   #14
alligatortek001
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.
alligatortek001 is offline   Reply With Quote
Old 05-22-2014, 06:13 PM   #15
dantefrizzoli
Registered User
 
Join Date: Apr 2014
Location: Las Vegas, NV
Posts: 262
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.
dantefrizzoli is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Frame background problem ncjbhd HTML / DHTML 27 05-19-2015 12:52 AM
HTML 5 and HTML 4 johnhedberg3 HTML / DHTML 3 06-16-2012 05:08 AM
Differences with HTML 4 and HTML 5 danielnelson HTML / DHTML 11 06-10-2012 10:21 PM
1.Basic distinguishing features of HTML 4 and HTML 5 rooseveltjobs HTML / DHTML 0 04-12-2012 11:00 PM
change html link based on combobox selection mjvndhsb Javascript 0 09-19-2011 01:53 AM


All times are GMT -7. The time now is 03:41 PM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.