Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script class="jsbin" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<meta charset=utf-8 />
<title>Title</title>
<style>
  
  .headerText, .headerDots {
    display: block;
    width: 200px;
    background: #900; 
    padding: 20px;
    color: #000;
    font: bold 18px Verdana, sans-serif;
    text-transform: uppercase;
    margin: 5px 0;
  }
  
  
  
</style>
  
  <script type-"text/javascript" language="javascript">
    jQuery(document).ready(function() {
      
      var Texttext = $('.headerText').html();
      $('.headerText').html('<span style="background: #ddd; padding: 0 5px 0 0;">' + Texttext + '<span>');
      
      var Dotstext = $('.headerDots').html();
      $('.headerDots').html('<span style="background: #ddd; padding: 0 5px 0 0;">' + Dotstext + '<span>');
      
    });
  </script>
  
  
</head>
<body>
  <body>
    
    
  <div class="headerText">Text</div>
  <div class="headerDots">More Text</div> 
    
</body>
  
  
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers