Home | Previous | Next | New Technologies and the Future of the Web |
Cascading Style Sheets
Brief Look at the Language
P {font-family: Arial,helvetica; font-weight: bold; color: red; margin-top: 1.5em; }All paragraphs should use a bold, red, Arial font for text, and should have a 1.5 em margin above the paragraph.
.numberhl { color: darkred; margin-top: -166px; font-size: 120px; font-family: "Arial Black"; }All elements with attribute CLASS="numberhl" should be rendered using the defined formatting properties. E.g.
<P CLASS="numberhl">This text is specially rendered </P>
Home | Previous | Next | New Technologies and the Future of the Web |