label

UK[?le?bl] US[?le?bl]

n. label; mark, symbol; [construction] molding on a door or window

vt. Label with; refer to as; list as; [chemical] use radioactive elements to trace (elements or atoms, etc.)

success

英[s?k?ses] 美[s?k?s?s]

n. Success, achievement; good grades, good results; successful people (or things)

Bootstrap label label-success style syntax

Function: Green label of "success" type

Bootstrap label label-success style example

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <title>Bootstrap 實(shí)例 - 標(biāo)簽</title>
	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
  <h2>標(biāo)簽</h2>
  <p>.label 類放置在不同的元素中(自適應(yīng)大小):</p>
  <h1>標(biāo)題 1 <span class="label label-success">新</span></h1>
  <h3>標(biāo)題 3 <span class="label label-success">新</span></h3>
  <h5>標(biāo)題 5 <span class="label label-success">新</span></h5>
  <p>段落 <span class="label label-success">新</span></p>
</div>
</body>
</html>
Run instance ?

Click the "Run instance" button to view the online instance