CSS Introduction

Last Updated Jul 21, 2015, 12:00:06 PM





What is CSS?

Before we understand what is CSS, lets talk about what is a web page is?. A web page generally contains some elements. The elements contain some content in it. The elements on the web page are called HTML elements or HTML code. So the HTML elements define the structure of a web page.

Till now all the content on the web page is just pure static and unstyled content. But what if we want to style the content and present the content in more robust way to keep it looks good for users and style it according?. That is where the presentation layer comes in. the presentation layer is styled with CSS

See the below image for more understanding



What is CSS?

CSS stands for Cascading Style Sheets. used for describing the look and formatting of a document written in HTMLmarkup language.

  1. CSS is mainly used to style the elements in a web page.
  2. Using css you can change the content of the web page and add some colors and fonts etc..

Benefits of CSS

  1. CSS controls the layout of many documents from one single style sheet;
  2. CSS defines how HTML elements are to be displayed
  3. Styles were added to HTML 4.0 to solve the presentation problem
  4. In Css, External Style Sheets are stored in CSS files

CSS can be easily learned even for a beginner. But it is good to have the basic knowledge of HTML, since CSS is used to change the HTML elements

Who Maintains the CSS?

CSS is created and maintained through a group of people within the W3C called the CSS Working Group. The CSS Working Group creates documents called specifications. When a specification has been discussed and officially ratified by W3C members, it becomes a recommendation.

For better understanding of CSS, you need basic knowledge of HTML

Learn HTML with our interactive tutorial and Live code editor

Learn HTML


Sources and Credits

The source of the content has been referred and updated with Mozilla Foundation and W3C Organization

Last Updated Jul 21, 2015, 12:00:06 PM