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 calledHTML
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 HTML
markup language.
- CSS is mainly used to style the elements in a web page.
- Using css you can change the content of the web page and add some colors and fonts etc..
Benefits of CSS
- CSS controls the layout of many documents from one single style sheet;
- CSS defines how
HTML
elements are to be displayed - Styles were added to HTML 4.0 to solve the presentation problem
- 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 HTMLSources 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