| What's the point? |
What's the point of stylesheets? Styles are an old idea that has been around for 20 years; certainly WordPerfect 5.1 was capable of using stylesheets. Stylesheets :
|
| References |
|
| Using Styles |
There are three ways of applying styles to a web page:
First of all we'll deal with styles within a single page (2), then we'll export the definitions into a stylesheet and link it to another page (1). We are going to use styles to change:
It's important to know the difference between block level html tags such as <h1>, <p> and <ul>, and inline tags such as <strong>, <sup>. Block level tags always have a blank line around them and you can easily draw a box around a block tag using a style. We'll do just this later on. In the next session we'll use a dummy block tag, <div> in order to draw a box around a graphic and it's associated text. |