<span>W3TR</span>
$("span").mouseover(function(){
  $("span").css("background-color", "red");
});
$("span").mouseout(function(){
  $("span").css("background-color", "pink");
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.min.js