Types of CSS | Eklavya Online

Types of CSS

Most commonly used types of CSS are:

1. Local Style (inline style)
It is defined with-in a tag using an attribute style. It’s scope is limited to a tag in
which it is defined.

2. Internal Style
It is defined with-in a head block using a tag style. Its scope is limited to all those
tags, which are with-in that page.

3. External Style
It is defined in a separate file and saved with extension (.CSS). Its scope is
limited to all those web pages, which are linked to that CSS file.