Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.

Responsive image


Cascading Style Sheets

The logo for CSS 3

Cascading Style Sheets, or CSS, is a way to change the look of HTML and XHTML web pages. CSS was designed by the W3C, and is supported well by most modern web browsers. The current version of CSS is CSS3. CSS4 is available, but is split into parts.

One advantage to using CSS is a web page can still be displayed, even if the CSS is not working or removed.

CSS code is saved in files with the .css file extension.

To import a CSS file you would use <link rel="stylesheet" href="CSS_FILE_NAME_HERE.css"> or for a folder you would use <link rel="stylesheet" href="FOLDER_NAME_HERE/CSS_FILE_NAME_HERE.css"> in HTML.

In CSS you would use @import url("CSS_FILE_NAME_HERE.css"); or for a folder you would use @import url(FOLDER_NAME_HERE/CSS_FILE_NAME_HERE.css"); to import CSS into your CSS.

You could also use @import in a set of <style>import goes here</style> tags to import the CSS in your HTML from your CSS. You could also put your CSS directly into the HTML by putting in a set of <style>css here</style> tags.


Previous Page Next Page