#jquery #:odd :odd :odd is a selector that selects odd-indexed elements. grammar $( ':odd' ) for example $( 'p:odd' ) Select p elements that are odd indices. One thing to note is that the indices start at zero. example 0. Lorem 1. Ipsum 2. Dolor 3. Sit Selects li elements with odd indices and replaces the text color with red.