CSS Full Form: Cascading Style Sheet
CSS Full Form is “Cascading Style Sheet”.
It is used to style the HTML web pages and is a standard language accepted by WWW to style web-pages. It stands as one of the best Front-end tools.
CSS is developed by World Wide Web Consortium (W3C), to give a presentational look for static web pages. Everything we see on a webpage with color and layout is because of CSS and its framework. Now, more than using a direct CSS code we can also use its frameworks because they are able to adjust the web-page layout and design according to the device size.
The latest version of CSS is CSS4 which was released in 2015.
Why use CSS?
Though before CSS, we were able to style HTML pages, but in order to do this we had to visit every HTML tag to style the complete page. For instance, if we want to style all our heading tags, we had to visit the heading tags and write similar code for each one. But with the introduction of CSS, by using a single line, we can grab all the same or specific tags and style them at once.
Introduce CSS in HTML:
Like HTML, CSS executes at the client-side on the web browser, and it always works along with the HTML page.
There are three ways by which we can introduce CSS in an HTML page.
- Inline CSS: In Inline CSS, the CSS property is directly assigned along with the HTML tag using the style attribute.
<p style = "color:#001200; font-size:40px; text-align:left;"> Techgeekbuzz </p>
- Internal CSS: In Internal or Embedded CSS, we can use the < style> tag to write the CSS code. The style tag in an HTML tag can affect all tags inside that HTML file.
- External CSS: In External CSS we create a separate CSS file using .css extension. To link the external CSS file in our HTML page we use the html <link> tag.
<link rel="stylesheet" href="tech.css"/>
CSS Quick Summary
CSS | Cascading Style Sheet |
File Extension | .css |
Media Type | Text |
Developed by | Håkon Wium LieBert BosWorld Wide Web Consortium |
Released | December 17, 1996; 22 years ago |
People are also reading:
Leave a Comment on this Post