Style sheets : Your first style sheet
Contents ]
Dr Benton

Graphical Definition of the Styles

The goal of this workshop is to define the following tags: <H1>, <H2> and <H3>. The titles, sub-titles and texts will be assigned different colours and fonts, and an appropriate alignment. Our styles will have the following attributes:

  • The style which corresponds to the title is <H1>. It will be defined as follows:

  • - font: Verdana;

    - colour: dark blue

    - highlighting: bold

    - font size: 20 points

    - right-aligned

  • While we are about it, we will also redefine the attributes of the <H2> tag which corresponds to sub-titles. So it will be formatted in the same way as its elder brother, except that it will be more discreet.

  • - character size: 20 points

    - highlighting: not bold

  • And, lastly, we will redefine the <H3> tag's attributes that will correspond to a normal text. We will apply a justified alignment (left- and right-aligned at the same time).



  1   2   3   4