
This online HTML editor requires JavaScript to run. Your browser either doesn't support JavaScript, or JavaScript is currently disable...
Wulangreh Jawi lan Islam. Medhar Saba: Pitutur, Sembur lan Uwur. Blog Private Collection's. (Ajian, Mantra, Do'a, Jimat, Pelet, Asma, Wifik, Hijib.)
This online HTML editor requires JavaScript to run. Your browser either doesn't support JavaScript, or JavaScript is currently disable...
Feel free to use this online HTML editor for generating HTML code for your own website, MySpace page, etc. To view the source code, simply click on the "Source" button above.
This online HTML editor requires JavaScript to run . Your browser either doesn't support JavaScript, or JavaScript is currently...
background
property. Strictly speaking, this is a CSS property but you use it in conjunction with your HTML code. The background
property is a shorthand property for setting all background properties at once. Source Code | Result |
---|---|
| This example sets all the background properties with one property - the 'background' property. This keeps the code shorter and easier to read. |
background
property against the body
tag.background
shorthand property, we use a property more specific to the actual effect we want to achieve. Doing this is simply an alternative - it's your choice which method you use.p
tag using the background-color
property. You can apply background color to any other HTML element, such as a div
tag, body
tag etc. Here, we also apply color to the text by using the color
property. Source Code | Result |
---|---|
| This text has got a background color applied. You could also apply background color to the whole page if you like. |
p
tag using the background-color
property. You can apply background color to any HTML element, such as a div
tag, body
tag etc. Here, we also apply color to the text by using the color
property. Source Code | Result |
---|---|
This div tag has got a background image. You could also apply a background image to the whole page if you like. | This div tag has got a background image. You could also apply a background image to the whole page if you like. |
Source Code | Result |
---|---|
background-repeat:repeat; background-attachment:fixed; overflow:scroll; width:200px; height:100px;">
| This HTML background code demonstrates how to keep the background image fixed. Scroll down to see what I mean - the background image stays in the same position. |
This page contains HTML background code. Feel free to copy and paste the HTML background code into your own website, blog, MySpace page, or...
background
property. Strictly speaking, this is a CSS property but you use it in conjunction with your HTML code. The background
property is a shorthand property for setting all background properties at once. Source Code | Result |
---|---|
This example sets all the background properties with one property - the 'background' property. This keeps the code shorter and easier to read. | This example sets all the background properties with one property - the 'background' property. This keeps the code shorter and easier to read. |
background
property against the body
tag.background
shorthand property, we use a property more specific to the actual effect we want to achieve. Doing this is simply an alternative - it's your choice which method you use.p
tag using the background-color
property. You can apply background color to any other HTML element, such as a div
tag, body
tag etc. Here, we also apply color to the text by using the color
property. Source Code | Result |
---|---|
This text has got a background color applied. You could also apply background color to the whole page if you like. | This text has got a background color applied. You could also apply background color to the whole page if you like. |
p
tag using the background-color
property. You can apply background color to any HTML element, such as a div
tag, body
tag etc. Here, we also apply color to the text by using the color
property. Source Code | Result |
---|---|
This div tag has got a background image. You could also apply a background image to the whole page if you like. | This div tag has got a background image. You could also apply a background image to the whole page if you like. |
Source Code | Result |
---|---|
This HTML background code demonstrates how to keep the background image fixed. Scroll down to see what I mean - the background image stays in the same position. | This HTML background code demonstrates how to keep the background image fixed. Scroll down to see what I mean - the background image stays in the same position. |
This page contains HTML background code. Feel free to copy and paste the HTML background code into your own website, blog, MySpace page, or...
background
property. Strictly speaking, this is a CSS property but you use it in conjunction with your HTML code. The background
property is a shorthand property for setting all background properties at once. Source Code | Result |
---|---|
| This example sets all the background properties with one property - the 'background' property. This keeps the code shorter and easier to read. |
background
property against the body
tag.Backgrounds HTML and CSS provides many ways of changing backgrounds in web pages. This page explains the industry standard way of creating b...
background
property. Strictly speaking, this is a CSS property but you use it in conjunction with your HTML code. The background
property is a shorthand property for setting all background properties at once. Source Code | Result |
---|---|
This example sets all the background properties with one property - the 'background' property. This keeps the code shorter and easier to read. | This example sets all the background properties with one property - the 'background' property. This keeps the code shorter and easier to read. |
background
property against the body
tag.Backgrounds HTML and CSS provides many ways of changing backgrounds in web pages. This page explains the industry standard way of creating b...