CSS Introduction

What is CSS?

  • CSS stands for Cascading Style Sheets.
  • CSS defines how HTML elements are to be displayed.
  • We can inherit multiple styles from one location to other.
  • It contains use collection of different style, these styles we can applying for html elements.
  • In CSS style are saved with the extention of ".css", these files we can able to link with html files.


CSS Advantages

  • Flexibility  
  • Codes rendering
  • Accessibility
  • Easy manage
  • Global change
  • Save a lot of time
  • Easy maintenance
  • Inline/Internal/External style sheet
  • Page load faster
  • Superior style
  • Multiple device compatibility
  • Global web standard


CSS Syntax

In CSS the syntax is divided into the following three parts.

      1          2         3
" selector { property : value } "
  • selector in normally the HTML tag you wish to define
  • Property is the attributes you wish to change
  • Every property has the value.

Example

Example
SHARE

a

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment

0 comments: