jQuery Tutorial Part 1: Selectors

:odd

Llanowar Augur Creature - Elf Shaman, Sacrifice Llanowar Augur: Target creature gets +3/+3 and gains trample until end of turn.
Llanowar Behemoth Creature - Elemental, Tap an untapped creature you control: Llanowar Behemoth gets +1/+1 until end of turn.
Llanowar Knight Creature - Elf Knight, Protection from black
Pulse of Llanowar Enchantment, If a basic land you control is tapped for mana, it produces mana of a color of your choice instead of any other type.
Akki Blizzard-Herder Creature - Goblin Shaman, When Akki Blizzard-Herder is put into a graveyard from the battlefield, each player sacrifices a land.

:first AND :last

Llanowar Augur Creature - Elf Shaman, Sacrifice Llanowar Augur: Target creature gets +3/+3 and gains trample until end of turn.
Llanowar Behemoth Creature - Elemental, Tap an untapped creature you control: Llanowar Behemoth gets +1/+1 until end of turn.
Llanowar Knight Creature - Elf Knight, Protection from black
Pulse of Llanowar Enchantment, If a basic land you control is tapped for mana, it produces mana of a color of your choice instead of any other type.
Akki Blizzard-Herder Creature - Goblin Shaman, When Akki Blizzard-Herder is put into a graveyard from the battlefield, each player sacrifices a land.

:first-child AND :last-child

This is inside a p and also a PARENT of the #demo3 div

This is also inside a p, but it's not the first-child!

Okay... this is another p inside #demo3

This is the last child of the #demo3 div.

This is NOT inside it's own p, so it does not count as a child!

Children (>) - [$("div#demo4 > p")...]

This is inside a p and also a PARENT of the #demo4 div

This is also inside a p, but it's not the first-child!

Okay... this is another p inside #demo4

This is the last child of the #demo4 p.

This is NOT inside it's own p.