CSS Full Form - GeeksforGeeks

20 Dec, 2019
CSS stands for Cascading Style Sheet, it is a style sheet language used to shape the HTML elements that will be displayed in the browsers as a web-page. Without using CSS, the website which has been created by using HTML, will look dull. Basically CSS gives the outer cover on any HTML elements. If you consider HTML as a skeleton of the web-page then the CSS will be the skin of the skeleton. The Internet media type (MIME type) of CSS is text/CSS. The CSS was developed by the World Wide Web Consortium (W3C) in the year of 1996. The CSS can be applied to HTML documents in different ways.
The inline CSS style that will look like below code:<h1 style="color: green;">GeeksforGeeks</h1>
<h1 style="color: green;">GeeksforGeeks</h1>
The internal CSS style that will look like below code:<!DOCTYPE html>
<html>
  <head>
    <title> internal CSS </title>
    <style>
     h1 {
        color: green;
     } 
    </style>
  <head>
  <body>
    <h1">GeeksforGeeks</h1>
  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <title> internal CSS </title>
    <style>
     h1 {
        color: green;
     } 
    </style>
  <head>
  <body>
    <h1">GeeksforGeeks</h1>
  </body>
</html>

The external CSS style that will look like below code:/* this will be separate file */
<style>
h1 {
   color: green;
}
</style>
/* this will be separate file */
<style>
h1 {
   color: green;
}
</style>
CSS version release year:
Characteristics of CSS:
Maintenance: It is easy to maintain, changing in a single place will affect globally in your web site. No need to change every specific place.
Time-saving: You can easily use any single CSS script at multiple places.
Support: CSS is supported by all the browsers and search engines.
Cache storing: CSS can store web applications locally with the help of offline cache so you can see the web site when you are offline.
Native front-end: CSS contains a huge list of attributes and function that is helpful to design the HTML page.
Selectors: In CSS, there are lots of selectors (ID selectors, Class Selectors, etc.) that will be helpful to perform specific tasks.
Advantages of CSS:
CSS is compatible with all the devices.
With the help of CSS, website maintenance is easy and faster.
CSS support consistent and spontaneous changes.
CSS make the website faster and enhances search engine capabilities to crawl the web pages
It holds a special feature that is the ability to re-position.
Disadvantages of CSS:
In CSS, there is a cross browsers issue if you design anything and check on chrome it looks perfect but that does not mean it will look the same in the other browsers. Then you have to add the script for that browser also.
There is a lack of security in CSS.
CSS is vulnerable, it is exposed to possibly being attacked.
CSS has a fragmentation issue.
CSS-Basics
CSS-Misc
CSS
Web Technologies
Web technologies Questions
Writing code in comment?
Please use ide.geeksforgeeks.org,
generate link and share the link here.
Comments
Old Comments
Top 10 Projects For Beginners To Practice HTML and CSS Skills
How to insert spaces/tabs in text using HTML/CSS?
How to create footer to stay at the bottom of a Web page?
How to update Node.js and NPM to next version ?
Types of CSS (Cascading Style Sheet)
Top 10 Front End Developer Skills That You Need in 2022
Installation of Node.js on Linux
Top 10 Projects For Beginners To Practice HTML and CSS Skills
How to fetch data from an API in ReactJS ?
How to insert spaces/tabs in text using HTML/CSS?