| Index | Code Tester |
<div style = "font-family: courier; font-size: xx-small; font-style: italic; font-variant: small-caps; font-weight: 700">Hi</div>
Text Properties
<div style = "color: red; letter-spacing: 5; text-align:center; text-decoration: line-through; text-indent: 20;white-space:nowrap; word-spacing: 3">Hi, this is really exciting text</div>
Background Properties
<body style = "background-attachment: scroll; background-color:red; background-image: url('ball.gif'); background-position: 100 100; background-repeat: no-repeat">Hi, this is really exciting text</body>
In all of the following exercises, use style properties.
In exercises 1 & 2 you will list the style properties and possible values for each. You might want to create a .css file and add this information to the file to set it up as a template file.
1. List the Text properties and possible values for each.
2. List the Background Properties and possible values for each.
3. Create a new page. Use the internal style approach to define the style for the body tag. Make sure that the page meets the following requirements:
- An image appears repeatedly in the background.
- The images scroll with the page
- A <div> tag has its background color set to blue.
4. Create a new page. Use the internal style approach to define the style for the body tag. Make sure that the page meets the following requirements:
- An image appears once in the center.
- The image is fixed to the background so that the text scrolls over it
- A <div> tag has its background color set to blue.
5. Using the page you created in #4, use the internal style approach to define the style for the div tag. Make sure that your page meets the following requirements:
6. What style properties are used to...