Home >>CSS Tutorial >What is CSS
CSS stands for Cascading style sheets. In web development the most essential feature is CSS. It is a language by which we can describe the behavior of an HTML webpage and the appearance of web pages.
By using CSS, you can control the style of fonts, color of the text, the spacing (letter spacing & word spacing) between paragraphs, how columns are sized, layout designs, define background color of HTML webpage and variations in display for different devices and screen sizes.
It provides a heavy control over the HTML document Presentation. You can easily learn and understand CSS.
Here is the CSS example:
<!DOCTYPE> <HTML> <head> <style> h1{color:white;background-color:green; padding:5px;border:1px solid #000; } </style> </head> <body> <h1>Welcome to phptpoint </h1> </body> </HTML>
To describe the content of the web page HTML was created, like
<h1>This is a heading</h1> <p>This is a paragraph. </p>
Web developers had goosebumps when tags as <font>, and color attributes were introduced in the HTML 3.2 specification. The process of developing large websites became an unpleasant and horrific experience as it involved lots of fonts and color information addition to every single page.
For the large website development, where color and font's data were added to multiple single pages, it became a lengthy and expensive process.
The W3C (World Wide Web Consortium) created CSS to solve this problem.
CSS helps the HTML page to remove the style formatting.