CSS Property Value How to - border-color: red;








Question

We would like to know how to border-color: red;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
#red-input {<!-- www  . ja  v a2 s . c o m-->
  border-color: red;
}
</style>
</head>
<body>
  <table>
    <tr>
      <td><input id="red-input" /></td>
    </tr>
    <tr>
      <td><input /></td>
    </tr>
  </table>
</body>
</html>

The code above is rendered as follows: