Category: CSS

External Style Sheets in CSS3

It is a very good practice to keep CSS styles in a separate file which is also known as sheet.  By doing so, you will have 2 files to work on, one will be HTML and another will be CSS.  You only need to add reference to the CSS style sheet using link element.  This

Internal Style Sheets in CSS3

By using style attribute which contains multiple properties, will make your code look dirty.   In such scenario, Internal Style Sheets help a lot.  Internal Style Sheets are created using style element.  They are usually placed inside head element. There are multiple selectors like class, ID, tag name etc which you can use to select an