In jQuery what will be the syntax when all the <a> links include inline paragraph tags | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In jQuery what will be the syntax when all the <a> links include inline paragraph tags

Select all <a>links which are inside paragraph tags. $("p _ _") Answer of this

10th Apr 2020, 12:17 PM
Rohit Maurya
Rohit Maurya - avatar
2 Answers
0
$("p a") You can use this to select all <a> links inside the <p> tag. I hope it'll help you.
15th Apr 2020, 4:45 AM
Shaili Shah
Shaili Shah - avatar
0
Thanks dude
15th Apr 2020, 10:27 AM
Rohit Maurya
Rohit Maurya - avatar