Home > DeveloperSection > Forums > What is CSS?
Ankit Singh

Total Post:341

Points:2389
Posted on    December-13-2012 2:24 AM

 CSS-CSS3 CSS-CSS3 
Ratings:


 1 Reply(s)
 1279  View(s)
Rate this:
Hi all and sundry persons

please tell me concrete meaning of css in brief statement?

Thanks in advance.


AVADHESH PATEL

Total Post:604

Points:4228
Posted on    December-13-2012 6:29 AM

Hi Ankit Singh

1. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. Every element type as well as every occurrence of a specific element within that type can be declared a unique style, e.g. margins, positioning, color or size.


2. CSS is a web standard that describes style for XML/HTML documents.


3. CSS is a language that adds style (colors, images, borders, margins…) to your site. It’s really that simple. CSS is not used to put any content on your site, it’s just there to take the content you have and make it pretty. First thing you do is link a CSS-file to your HTML document. Do this by adding this line: <link rel="stylesheet" href="style.css" type="text/css"> The line should be placed in between your <head> and </head> tags. If you have several pages you could add the exact same line to all of them and they will all use the same stylesheet, but more about that later. Let’s look inside the file "style.css" we just linked to. h1 { font-size: 40px; height: 200px; } .warning { color: Red; font-weight: bold; } #footer { background-color: Gray; }


4. Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, and spacing) to Web documents. This is also where information meets the artistic abilities of a web-designer. CSS helps you spice up your web-page and make it look neat in wide variety of aspects.

I hope this is a concrete post

Modified On Dec-13-2012 06:45:26 AM

Don't want to miss updates? Please click the below button!

Follow MindStick