HTML CSS Styles | Add CSS To HTML | Inline css in html

HTML CSS-Styles


Full form of CSS is Cascading Stylesheet.

CSS saves a lot of work and control the layout of multiple web pages all at once.

-Used to format the layout of a webpages

CSS controls the color, font-size, spacing between elements ,how elements are positioned and laid out ,background color,background images are also be used in CSS.

 Cascading means that  a style  applied to a parent element will also to all children.

Using CSS

CSS can be added to HTML documents in 3 ways like inline,internal and external etc:

  • Inline  :  using the style attribute inside HTML element.
  • Internal : using a