×

Save Your Code

If you click the save button, your code will be saved, and you get an URL you can share with others.

By clicking the "Save" button you agree to our terms and conditions.

Report Error

×

Save to Google Drive

If you have a Google account, you can save this code to your Google Drive.

Google will ask you to confirm Google Drive access.

×

Open from Google Drive

If you have saved a file to Google Drive, you can open it here:

Result Size: 625 x 571
x
 
<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../../maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="../../ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
    <script src="../../maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  </head>
  <body>
    <div class="container">
      <h2>Credit-card Glyph</h2>
      <p>Credit-card icon: <span class="glyphicon glyphicon-credit-card"></span></p>    
      <p>Credit-card icon as a link:
        <a href="#">
          <span class="glyphicon glyphicon-credit-card"></span>
        </a>
      </p>
      <p>Credit-card icon on a button:
        <button type="button" class="btn btn-default btn-sm">
          <span class="glyphicon glyphicon-credit-card"></span> Credit Card
        </button>
      </p>
      <p>Credit-card icon on a styled link button:
        <a href="#" class="btn btn-info btn-lg">
          <span class="glyphicon glyphicon-credit-card"></span> Credit Card
        </a>
      </p> 
      <p>Unicode:
        <span class="glyphicon">&#xe177;</span>
      </p> 
    </div>
  </body>
<!-- Mirrored from www.w3schools.com/icons/tryit.asp?filename=trybs_ref_glyph_credit-card by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:22:57 GMT -->
</html>
×

Report a Problem: