adding style attribute through jquery code example Example: set css using jquery $('.name').css('color':'blue');