Introduction to CSS

What is CSS?

  • CSS is a style sheet language that is used to provide style to web pages.
  • CSS rulesets style the HTML elements as defined by the declarations written in the rulesets.
  • A CSS ruleset (normally called just rule) targets an HTML element using a selector and defines its appearance.

CSS Methods

  • Inline
  • Internal
  • External

CSS Box Model

css box model