Skip to content
Related Articles
Open in App
Not now

Related Articles

CSS Full Form

Improve Article
Save Article
Like Article
  • Difficulty Level : Easy
  • Last Updated : 19 Jul, 2022
Improve Article
Save Article
Like Article

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>
  • 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>
    
  • The external CSS style that will look like below code:
    /* this will be separate file */
    <style>
    h1 {
       color: green;
    }
    </style>

CSS version release year:
CSS-Released-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.
My Personal Notes arrow_drop_up
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!