b {outline: #ff0000 8px dashed;} : b « Tags « HTML / CSS






b {outline: #ff0000 8px dashed;}

 

<?xml version="1.0" ?>
<!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" lang="en" xml:lang="en">

<head>
  <title>CSS Example</title>
<style type='text/css'>
p {width:120px;}

b {outline: #ff0000 8px dashed;}
</style>

</head>

<body>
<p>Inside this paragraph the word in <b>bold</b> is going to have an outline.</p>
</body>
</html>

   
  








Related examples in the same category

1.'b' emphasizes the text in boldface
2.b border:solid 2px #999999;
3.b padding:2px;
4.b margin:23px;