Page Widget How to - Set Line background








Question

We would like to know how to set Line background.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
hr {<!-- www .  jav  a  2s . c  o m-->
  height: 2px;
  background-color: #ed1d61;
  border: none
}
</style>
</head>
<body>
  <hr />
</body>
</html>

The code above is rendered as follows: