button with strong tag and image : strong « Tags « HTML / CSS






button with strong tag and image

   

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The button element</title>
  <style type="text/css">
  button strong { 
    line-height: 2; 
    vertical-align: top; 
  }
  </style>

</head>

<body>
  <form method="post" action="/cgi-bin/formhandler.cgi">

    <div>
      <button type="submit" name="continue">
        <strong>Continue to the next page</strong> 
        <img src="next.png" width="28" height="20" alt="" />
      </button>
    </div>

  </form>


</body>
</html>

   
    
  








Related examples in the same category

1.EM and STRONG
2.strong font-weight:bold;
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