CodePen

HTML

            
              <!DOCTYPE html>
<html>
<head>
</head>
<body>
<h2>This is a heading</h2>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
</body>
</html>

            
          
!

CSS

            
              
            
          
!

JS

            
              $(document).ready(function(){
  var sText = "This is text";
  $("p").html(sText);
});
            
          
!
999px
Loading ..................