What is meant by "&gt" in css selector

Can anyone please clarify the doubt.

what is meant by &gt in css selector ?

ex :csselector=‘body>div>div>div>div>div>div>div>div>div>div>div>div>div>div>div>div>span’

if it is immediate navigation like / in xpath - for immediate child.
If I want select 2 child from div how can I can write the css selector ?


gt is nothing but the “>” …


Building off of @HareeshMR’s answer:

> - greater than

< - less than

≥ - greater than or equal to

≤ - less than or equal to

As for your other questions:

It’s not quite clear what you’re asking. Could you elaborate on what specific issue you are facing?

1 Like