Bootstrap Tutorial - Mark Text with Emphasis Classes








The following code shows how to mark Text with Emphasis Classes.

Example

<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet"
  href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<link rel="stylesheet"
  href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css">
<script type="text/javascript"
  src="http://code.jquery.com/jquery.min.js"></script>
<script
  src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<style type="text/css">
.bs-example {<!--from  w w w  . ja v  a 2  s.co m-->
  margin: 20px;
}
</style>
</head>
<body>
  <div class="bs-example">
    <p class="text-muted">Muted: This text is grayed out.</p>
    <p class="text-primary">Important: Please read the instructions
      carefully before proceed.</p>
    <p class="text-success">Success: Your message has been sent
      successfully.</p>
    <p class="text-info">Note: You must agree with the terms and
      conditions to complete the sign up process.</p>
    <p class="text-warning">Warning: There was a problem with your
      network connection.</p>
    <p class="text-danger">Error: An error has been occurred while
      submitting your data.</p>
  </div>
</body>
</html>

Click to view the demo