In Part 1 of this series I briefly discussed the Type selector. Here you begin your journey into CSS. Open the elements.html and test.css files that you created at the end of Part 1, which are also available within the download for this tutorial.
Begin by adding a short paragraph to the elements.html page. Complete the following steps:
Select Paragraph from the Format pop-up menu within the Property inspector (see Figure 1).

Figure 1. Selecting the Paragraph format option
The body of your page should look like Listing 1.
<body> <p>This is my first venture into the world of CSS.</p> </body>
Listing 1. Code for the body of the page
Now that you have an unformatted paragraph on your page, you can set about creating a CSS rule for it. Press Shift+F11 to open the CSS panel and complete the following steps:
Click the New CSS Rule button (see Figure 2). The New CSS Rule dialog box appears.

Figure 2. Clicking the New CSS Rule button in the CSS panel
Ensure that the Define In field is set to test.css (see Figure 3).

Figure 3. Setting your New CSS Rule settings
The CSS Rule Definition dialog box closes and your new rule for body appears in the CSS panel (see Figure 4).

Figure 4. CSS panel showing the new rule for the body tag
You have now created your first CSS rule.
Open your test.css file and you will see the rule you created for the p element (see Listing 2).
body {
color: #003366;
}
Listing 2. Your body rule