Exercise Answers
Here are the answers to the exercises in the previous parts of this tutorial.
They are split up by which part they refer to, which are:
Part 1 |
Part 2 |
Part 3.
Note: Your answers may be different to some of these, but that is fine as long as they are along the same lines.
Part 1
- Experiment with the following CSS attributes/properties, using inline style:
- Attribute: text-align;
Properties: left | right | center | justify
- Attribute: background-color;
Properties: red | #ff00ff | transparent
- Attribute: color;
Properties: blue | #00ff00 | rgb(0,0,0)
Part 2
Part 3
All tutorials and content written by Rick Bull unless otherwise stated
Page's last update: Wednesday, 20th July 2005; 16:46:40 UTC +0000
Official CSS Level 1 documentation: http://www.w3.org/TR/REC-CSS1
Official CSS Level 2 documentation: http://www.w3.org/TR/REC-CSS2