strong font-weight:bold; : strong « Tags « HTML / CSS






strong font-weight:bold;

   
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>CSS Positioning Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type='text/css'>
div.page {
  border:1px solid #000000;
  margin:10px;
  padding:10px;
  width:250px;}

span.explanation {
  font-family:arial, verdana, sans-serif;
  font-size:10px;
  border:1px solid #000000;}

strong {
  font-weight:bold;
  font-size:18px;
  line-height:22px;
  border:1px solid #000000;}

code {
  font-family:courier, monospace;
  font-size:12px;
  font-weight:bold;
  border:1px solid #000000;}


</style>


</head>

<body>
  <div class="page">
    <span class="explanation">The <code>span</code> element creates an inline box.
      Each line of text in this box generates a new line box, although you cannot
      specify properties for each of the individual line boxes, rather the 
      properties of the <code>span</code> element will determine font, text and
      line height properties. The <strong>inline</strong> elements will also
      generate boxes that flow within the <code>span</code> element.</span>
  </div>
</body>

</html>

   
    
    
  








Related examples in the same category

1.button with strong tag and image
2.EM and STRONG
3.strong font-size:18px;
4.strong line-height:22px;
5.strong border:1px solid #000000;
6.strong font-weight: normal;
7.strong background-color: yellow;
8.strong margin-left:40px;
9.strong margin-right:10px;
10.strong background-color:#d6d6d6;
11.'strong' Example