attribute selector jquery class code example Example: jquery or selector $( "div, span, p.myClass" ).css( "border", "3px solid red" );