HTML/CSS Tutorials -

Part 5

image of an html icon image of a css icon

Author: Derek Duban of www.upwithabang.com
for how-to docs on web development and free plug-in services for your site.

Style Sheet Example

This is a cascading style sheet example followed by the source code...

 
<div style='background-color: rgb(255,240,255); text-align: center; border-width: 1px; border-style: dashed; border-color: red;'>
<h1 style='color: black; font-family: sans-serif;'>Style Sheet Example</h1>
<p style='color: #0000ff; font-family: cursive; font-size: 20px; font-weight: bold; text-align: left'>
This is a cascading style sheet example followed by the source code...
</p>
</div>

Further Reading
Why to use style sheets for style and not just HTML