jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery :nth of type() Selector

jQuery :nth-of-type() Selector



The :nth-of-type(n) selector is used to select all elements that are the nth-child that belong to a particular type, of their parent.




Its syntax is:- :nth-of-type(n | even | odd | formula);


Further Explanation:-


Parameter Description
n The index of each child to match.
even Selects each even child element
odd Selects each odd child element
formula Specifies which child element(s) to be selected with a formula (an + b).

Code Explanation

All Tutorials related to jQuery Selectors

All Sections related to jQuery