CSS Selector Practice

unique id

unique class

element 1

element 2

unique name

unique combination of attributes : name=a id=a

unique combination of attributes : name=a id=b

unique combination of attributes : name=b id=a

unique combination of attributes : name=b id=b

class = 'apple'
class = 'apple orange'


Example of identifying elements with help of parent



Index

1 2 3 4 5 6 7 8 9 10


only-of-type

b1 b2 b3
b1
b1 b2


Difference between first child and first type

1 2 3
1 2 3
1 2 3


Xpath AXES

Xpath AXES - Inspect Me


Not logged in





No comments:

Post a Comment