One: selector

For example: h2+h1 Explanation: Set styles for tags that are adjacent to h2

Effect:

, for example, h1In one area (box), style the p tags after h1

Effect:

The.class selector explains: The tag has a class name for styling

A:

Styling the class name directly within the tag will set all the tags with the class name

Tag and then set will have the class name and tag consistent style set

Otherwise it is invalid

Effect:

.border. OneBor styles labels with these two class names

Effect:

Set the style of the span tag class named alert under p

Effect:

【】

< span class=”alert” style =” span “style =”alert

Effect:

< span class=”alert stop” > < span class=”alert stop” > < span class=”alert stop”

Effect:

原 文 : The label in accordance with the title of the style set class and other can be

Effect:

A [href*=”contact”]

Effect:

[href^=” HTTPS “] [href^=” HTTPS “] [href^=” HTTPS”

Effect:

6:For example, ul > li[class]=”one”] < ul parent li class name =”one” > < ul parent li class name =”one” > < ul parent li class name =”one” >

Effect:

Case sensitive

Explanation: I is case insensitive

Effect:

MDN:developer.mozilla.org/en-US/docs/…