CSS Full Form: Cascading Style Sheet
CSS Full Form is “Cascading Style Sheet”, and it is used to style the HTML web pages. It is a standard language accept by WWW to style web-pages, and it stands as one of the Front-end tools. It 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 released in 2015.
Why use CSS?
Tough before CSS, we were able to style HTML pages, but in order to do this we had to visits every HTML tag to style the complete page for instance if we want to style our all heading tags we had to visit all the heading tag and write similar code for each one, but with the introduction of CSS 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 execute 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|
|Developed by||Håkon Wium LieBert BosWorld Wide Web Consortium|
|Released||December 17, 1996; 22 years ago|
You may be also interested in: