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

Description


This tutorial gave just a short introduction to the power of stylesheets. Surfing 1 offers many more possibilities and its power was multiplied by Surfing 2. As the next step toward mastering Surfing we recommend a careful study of our complete Surfing 1 reference with many additional examples and properties not mentioned in this introductory material.

>> Case 1 <<
HTML SourceSurfing stylesheet

<p>Have</p>
<div>a good</div>
<p class = "time">time!</p>
body {color:black; background-color: white; 
      border:thick double red; 
      margin:2em; padding:2em}

p {font-size:40px; font-weight:bold}
div {font-size:20px; font-weight:normal; color:green}
p.time {font-size:60px; font-weight:900; 
        color:blue; text-decoration:underline}

Browser output