Cascading Style Sheets (CSS)

1. CSS Introduction

CSS Simple, or Element Selectors

CSS CLASS SELECTOR

However, in XHTML markup, elements can have class attributes assigned to them. The value attached to a class attribute can be one (or more) names, separated by spaces. Example:

<h1 class=“special”> The actual definition of the value “special” is defined in a CSS class selector…

CSS ID Selectors