:first-of-type selectorThe jQuery :first-of-type selector is used to select the elements that are the first among siblings and have no other element with both the same parent and the same elemetn name coming before it in the document tree.
:first-of-type selector Syntax$(':first-of-type')
:first-of-type selector ExamplesFollowing is a simple example which would hightlight the first p in each matched div:
