nth-of-type(2) before in js code example Example: select third element of an id css dl#id dd:nth-of-type(3)