Another really handy property in the access environment is the border property, with the aim of defining
the borders of a specific tag.
So of a section or of the header of a photo of an article or simply of a paragraph or a heading to insert
border.
We are supposed to select a tag to make reference to.
Therefore, let's move into our age, HTML5, and let's select, for example, the age to tag, then
within style, let's add the age to selector within which we'll insert border.
That, as you see also in this case, has got all a series of options, which, however, we are going
to insert directly in a linear way, defined in this way all the borders of the page.
After that, let's see how to define only a single border.
Therefore, after border, let's insert a Kullen, we have to insert a width, we can, for example,
opt for a thick border, five pixels, six years after that, let's select the type of border we like.
If we wanted linear and continuous, we need to insert solid.
And at this point, we have to select the color.
We can choose our green.
Semicolon, let's save and refresh our preview and as you can see, Section one in Section two, this
play, an inner border inserted in there inside.
We can also help to define exclusively one out of the four borders, therefore, instead of border five
pizzas solid green, we might insert what follows border top.
And five pixels solid green.
Let's delete the previous one.
Let's save refresh.
And verify that in this case, only the superior border has been inserted.
Naturally, we can do the same thing also with the left at.
With the right and with the bottom Bordeaux's.
And we can define a thinner border, therefore, to sell solid green.
Let's save the refresh and let's go to the Prevue.
As you can see, every border act in an autonomous way.
The border at the top is thicker and the border at the bottom is thinner.
We can then define the borders in a ducted way.
In so doing, by saving and refreshing, we see that the lower border is not the line anymore, but
it's detailed by a series of dots.
As for background and tax color, also in this case, a series of advanced tools are present, which,
however, we are going to deal with later on during our course, the aim of this distinction between
basic and advanced functions is only to make you understand more easily all the main properties that
the stylesheets used.