To get each level children even at lower level use .find()
To get first level children excluding text nodes use .children()
To get first level children including text nodes use .contents()
Returns children, grand-children, grand-grand-children etc. It return all children of any level of specified element. Looks for children in each and every level.
Only looks for children only at first level if children available at that level it will show that otherwise it will show nothing
It does not expect any argument. It is similar to
.children() but it also returns text nodes.
So from above specified methods you can choose anyone according to your requirements.