Edit in JSFiddle

$(document).ready(function() {
    $("p").css("background-color", "LightGrey");
    $("span").css({"background-color": "Green","color":"Yellow"});
    $("div").html($('span' ).css("font-size"));;
});
<p>&nbsp;&nbsp;jQuery By Example is a great blog to learn about jQuery.</p>
<br/>
<span>
&nbsp;&nbsp;jQuery By Example is a great blog to learn about jQuery.
</span>
<br/><br/>
<div>

</div>