CSS Property Value How to - border-bottom: 1px dotted black;








Question

We would like to know how to border-bottom: 1px dotted black;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.clear_dotted {<!--from  ww  w.  ja  va 2 s. c om-->
  width: 200px;
  height: 5px;
  border-bottom: 1px dotted black;
}

.merged_dotted {
  width: 200px;
  height: 5px;
  border-bottom: 1px dotted black;
}
</style>
</head>
<body>
<html>
<body>
  <div class="clear_dotted"></div>
  <br></br>
  <div class="merged_dotted"></div>
</body>
</html>
</body>
</html>

The code above is rendered as follows: