Mark Text with Emphasis Classes

Description

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 {<!-- w ww.  j  a v  a  2 s .  c o 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





















Home »
  Bootstrap »
    Example »




Accordion
Alert
Auto Complete
Badge
Breadcrum
Button
Carousel
Collapse
Dialog
Dropdown
Form
Icon
Jumbotron
Label
Layout
List
List Group
Media
Navigation Bar
Pager
Page Header
Panel
Paragraph
Pills
Popover
ProgressBar
ScrollSpy
Switch
Tab
Table
Thumnail
Tooltip
Tree
Well