Paragraph highlighting : p : Text Tags HTML CSS TUTORIALS


HTML CSS TUTORIALS » Text Tags » p »

 

Paragraph highlighting


 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>A Cautionary Demo</title>
  <style rel="stylesheet" type="text/css" media="All">
.danger {
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  background-color: red;
  color: white;
  margin-left: 25%;
  margin-right: 25%;
  border: 3px solid red;


  </style>
</head>
<body>
  <div class="danger ">this is a test. </div>

</body>
</html

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Text Tags
» p