strong margin-right:10px; : strong « Tags « HTML / CSS






strong margin-right:10px;

   
<?xml version="1.0" encoding="iso-8859-1"?>
<!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">
<head>
<title>A demonstration of the margin property</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type='text/css'>
body {font-family:arial, verdana, sans-serif;}

p {
  margin-top:40px; 
  margin-bottom:10px; 
  margin-left:10px; 
  margin-right:10px;
  border-style:solid; 
  border-width:1px; 
  border-color:#000000;}

strong {
  margin-left:40px;
  margin-right:10px;
  background-color:#d6d6d6;
}
</style>


</head>

<body>
<p>Lorem ipsum dolor sit amet, consectetuer <strong>adipiscing</strong> elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis <strong>nostrud</strong> exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. </p>
<p>Lorem ipsum dolor sit amet, consectetuer <strong>adipiscing</strong> elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis <strong>nostrud</strong> exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. </p>
<p>Lorem ipsum dolor sit amet, consectetuer <strong>adipiscing</strong> elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis <strong>nostrud</strong> exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. </p>
</body>
</html>

   
    
    
  








Related examples in the same category

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