u JS .each( fn ) - fn to be fired for each elem in the result set with "this"

MooTools

jQuery

Dojo


$.ready(function() {

      $("p").each(function(){

             $(this).css("color: #000; background: lightblue; font-size: 20px;padding: 10px") 
      }) 
})