Talking about colors, in addition to the text component we have seen in the previous lesson, the other
very important property is relative to the background to be able to insert a background into our pages,
we just have to insert the background attribute, as you can see from this list, in addition to the
background by itself, you can also insert additional properties which have all a specific function
within this lesson.
We will simply insert and therefore display the background as color or image.
We will later in the advanced part about this CSX version, three, use further properties able to perform
operations.
Enabling to place as best fit, for example, the inserted images to serve them as repeated, assess
a possible dimension or even insert a background made up of more than one color.
Let's start off from the background, that color property in this case as the food coloring white is
present to correctly visualize our page, we will insert, for example, a green background.
And in so doing, saving and refreshing within our prevue, our background, we have become completely
green, obviously a correct combination of colors.
Keeping in mind the user experience expects at least to colourings, which makes sense, one with each
other.
In addition to, of course, black, for example, defined as the color for the text, we are going
to leave the background white and we are going then to use as colors to complete the palette of our
page.
The green and the red colors or else we will choose a complimentary combination.
This choice is linked to the fact that now when we insert background image, we will use an image.
B.G. Underscore is Tausig PMG, which is attached to this video and contains the love of his tousle,
which is black and green.
Therefore, starting from the assumption to have the green color as the main color, in addition, of
course, to black for the text, we will insert the complimentary color to it that is red naturally.
As far as the colors combinations where we use this reference in the following lessons.
Therefore, whenever inserting a color may be needed, we will stick to this to colourings that start,
then inserting an image, therefore background that image.
And at this point with the tag you are and we have the chance to insert B.G. underscore is P and G.
Let's close with our semicolon.
Let's save and refresh the preview.
As you see within our page, the estancia image got inserted across the whole screen of the document.
As anticipated, we will see later how to correctly manage this type of background image or how to insert
a gradient background into the page.
As for now, let's just leave our white background, inserting only the background property, therefore
deleting all the rest as within the background property, you can insert all the various functions of
the relative properties we have seen before.
I mean, from this list onto a single line for the time being, let's just insert a white background,
let's say refresh and see that the preview is exactly like the one we have created as far as the explanation
on our properties.
And from the next lesson, we will add some new properties.
We will start modifying it.