Set the border color for <p> to "red". - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Set the border color for <p> to "red".

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
p {<!--   w w w .  j  a  v a  2s .  c o  m-->
    border-style: dotted;
    border-width: 4px;
    border-color: red;
}
</style>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

Related Tutorials