Introduction to CSS



What is CSS?
  • CSS is a language that we use to style an HTML document.
  • It describes how elements will be displayed.
  • CSS stands for Cascading Style Sheets.
  • CSS files are saved with the .css extension.
  • CSS files can be used in three ways Inline CSS, Internal CSS, and External CSS
why CSS?

  • CSS saves a lot of time and work.
  • Using CSS we can apply to write once and use many times approach.
  • We can easily change the style of multiple elements by changing the style in the stylesheet once.
  • We can create a single stylesheet and can use it on multiple HTML documents.
  • It is used to style the data or content which is displayed on the web browser.

Related Posts:

  • position Property The position property specifies the type of positioning method used for an elementThere are five different position values:staticrelativefixedab… Read More
  • Display Property The display property specifies if/how an element is displayed.Every HTML element has a default display value depending on what type of element i… Read More
  • CSS Linkslinks can be styled in many different waysStyling LinksThe four links states are:a:link - a normal, unvisited linka:visited - a link the user has visi… Read More
  • CSS LIST There are two main types of listsunordered lists (<ul>) - the list items are marked with bulletsordered lists (<ol>) - the list item… Read More
  • CSS Font CSS FontFont properties are used to add different styles to the fonts.Font properties are used to change the style, size, weight, etc. of the fo… Read More

0 Comments:

Post a Comment

Do leave your comments