>> English << | Português | По-русскиadultinternetusers > Tutorials > Surfing tutorial
>> Example 16 << | Prev | Next | Contents

Description


There are many properties used for setting the border of elements.

>> Case 1 <<
HTML SourceSurfing stylesheet

<p>AAAAAAAAA</p>
<div>BBBBBBB</div>
<p class = "xxx"> aaa
<b>bbb</b> ccc
<span class = "yyy">ddd</span>
</p>
body {color:black; background-color: white}

p {border: medium solid red}
div {border: thick dotted green}

p.xxx {border-color:navy}

b {border: thin double blue}
span {border-style: groove}

Browser output