Web Development Tutorials.com

How to set all of the right border properties in one declaration


Click Here for CoffeeCup Website Design Software   GoDaddy.com Hosting & Servers

The below HTML and CSS code example shows you how to set all of the right border properties in one declaration.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title>this is the title of the web page</title>

<style type="text/css">

</style>

</head>
<body>

<p style="border-right: medium dashed #ff0000;">
This paragraph has all of the right border properties set in one declaration.
</p>

</body>
</html>

The above HTML and CSS code makes the paragraph below.

This paragraph has all of the border properties set in one declaration.

Use the text editor below to practice setting all of the right border properties in one declaration.