jquery ul code example Example: jquery first child $( "li" ).first().css( "background-color", "red" );