If you are acquainted with the concepts of
HTML tags and style sheets, you can design
your Web pages more freely by using classes and IDs; by embedding styles directly into each
tag; or by using an external style file.
This section introduces an example that use
classes to change the color of a paragraph
and the color of text in the paragraph.
![]() |
class A definition of Web page style. You can assign one class to multiple HTML tags, so you do not have to define the same style several times. You can, for example, assign the same class both to a table and to text. |
![]() |
ID A definition of Web page style. You can embed one ID to only one HTML tag, so you must define the same style several times. Because you can use classes for more general purpose than IDs, it is recommended that you use classes rather than IDs. |
![]() |
You can type any text you like in the Class field. |
![]() |
Using the Style Definition dialog box, you can define such styles as fonts, layouts, and colors. Define them as you like. |
![]() |
You can define classes and IDs from the Style Sheet Manager. Click Help under Show current style status and read the displayed help topic. |