Custom Classes

Skills Covered
span class

div class

For this lesson in the Introduction To Styles unit you will create custom styles, also known as classes. By the end of the lesson you will be able to define a custom class, and apply a span class and div class to elements in the body of an HTML document.

As in the previous excercise, I'd like to remind you about the basic page template we are currently using:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>The title of your web page goes here </title>
<style type="text/css">
Define all styles here
All of your web page content goes here

We are still working with the wish.htm file from the previous two lessons. Open up your copy in Notepad so we can continue to modify it!