css selector

 

 

Positioning under css

locate by id

Locate by class

When there are two styles under the class, such as class=name agh

Use when positioning: .name.agh

 

When there is no class and id, write the positioned content in []

Narrow your search with the tag selector

 

 

 xpath supports corner positioning, css does not support

 

Multi-attribute targeting

 

fuzzy positioning

^ starts with what

what does ¥ end with

*what is included

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325393110&siteId=291194637