To conclude our introduction to the version of three success, let's discuss now the hierarchy, selectors
and the Estragon selectors.
The hierarchy selector is divided into different typologies, which identify a certain type of relation,
which is between two or more components of the page.
For example, if we inserted after pee.
Another time selector that C-SPAN, for example.
We would know that the elements sought in this way are going to identify everything which is present
in the span selecter, which yet is contained in within the P tag in the age the demand page.
Therefore, in this case, where we inserted spane be inserted or not in this class, everything which
gets inserted here, we correspond to the content of this.
And this other spane.
Adding possibly more properties to the relative classes and IDs, and the same story applies to the
child selectors, which get identified with the.
Greater than Simbel.
The difference from the previous typology lies in the fact that if between P and span of a tax were
present, then in this case the identification would not happen.
It would be limited to cases like those we have inserted that imply the presence of P just before span.
There is then the opportunity to replace this symbol with a plus and in this case, to make this person
have the attributes which are present in this case.
It would be necessary for this plan to get move at the beginning.
Just after P.
In so doing.
Up to the closing of the span, everything in the air gets represented as far as for matching.
Instead, for the attributes selectors.
We have the possibility to identify a specific target, according to some attributes, for instance.
If we wanted to choose all the links containing the word estás you and them.
We might use the open square brackets to select the specific attribute, let's then identify.
H r e f.
With the global attribute.
Therefore, with our asterisk equal and then let's insert the desired word.
In so doing on the links, which have a statue inside them.
Will be affected by the properties inserted in this relative space.
These are additional selectors which will turn up to be very useful when you come to use the stylesheets
in very complex pages, very often we have to highlight, underline or modify features which relate
to small parts of your pages and without having to act directly on age HTML.
You can do it straight away, starting from the stylesheets.
Now we have a general view about the selectors that see the various specifications to make our version
three says able to be applied to our HTML documents.