Practicing Some CSS Text Styles

There are so many options available for CSS text styling that it becomes a bit overwhelming. I also need an opportunity to practice some of the attributes so that I can learn to use them, and this is my attempt to do just that. The stylesheet for this exercise is "textstyles.css", and that is where I will put the actual code for the various styles. I may include a few inline here as well.

A Class Option for a Different Version of a Heading

One of the options I want to practice is the ability to create a class. This example is using a class called "boxed" for the tag "h2" to put a border around all 2nd level headings that reference the class. The results are above with the class, and below without.

The Same Heading, Different Class


Some Fun Styles

I am going to italicize a phrase here, using the inline method, just because I want to. There; now I have that out of my system. Well, maybe not. Why? Because I want to make something BOLD, that's why! Okay, now I feel better.


You can go back to the main page if you want to.