Select from following answers:- append to()
- nth child selector()

- LastChildSelector()
- FirstChildselector()
- All Above
We specify the element in the code snippet .. like $(("#div2 p:nth-child(2)").css("background", "red");)
here in the code p=paragraph and element is used for paragraph :nth child
Show Correct Answer
Asked In: Spotted While Learning |
Alert Moderator