Border Css
Border Css
DOCTYPE html>
<html>
<head>
<style>
</style>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
p.one {
border-style: solid;
border-color: red;
p.two {
border-style: solid;
border-color: green;
p.three {
border-style: dotted;
border-color: blue;
</style>
</head>
<body>
<p><b>Note:</b> The "border-color" property does not work if it is used alone. Use the "border-
style" property to set the borders first.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
p.one {
border-style: solid;
border-color: red green blue yellow; /* red top, green right, blue bottom and yellow left */
</style>
</head>
<body>
<p>The border-color property can have from one to four values (for the top border, right border,
bottom border, and the left border):</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
p.normal {
padding: 5px;
p.round1 {
border-radius: 5px;
padding: 5px;
p.round2 {
border-radius: 8px;
padding: 5px;
p.round3 {
border-radius: 12px;
padding: 5px;
</style>
</head>
<body>
</body>
</html>