The class selector
●
Define a class (in the header) by
–
giving it a name preceded by a period
–
adding the standard style definitions inside {}
<style type=“txt/css”>
.bright {
font-weight:bold; color:red
}
</style>
●
Apply the class to any HTML tag
<strong
class=“bright”
> text </strong>
<h1
class=“bright”
> text </h1>