What is CSS?
5th March 2014
CSS stands for Cascading Style Sheets, but that's not too important. What you do need to know is that CSS it got to do with the styling of a website.
In any website, HTML contains the headings paragraphs, lists, and images - so all the text and the images, and CSS determines how that would be displayed. Click here for a simple explanation of HTML.
Every website would have CSS. Otherwise the page would be extremely boring looking. The default HTML is black text on white.
Let's just take this page as an example.
On this page, HTML contains the paragraphs and headings, but CSS decides the following, and then some more;
- the font used (we're using a font called Cabin most of the time)
- the size of the font
- the image above (What is CSS?/What is CSS?) goes to the right of the text on larger screen sizes - but is centered when viewed on a mobile
- the menu is white text on black
- when you hover over a link you'll see an underline
- the logo image is centered
- The coloured backgrounds are also set in CSS.
If you want to learn more, then check out this really simple article, that shows how to change the HTML font colour using inline CSS.
If you have any questions, please just ask in the comments below!comments powered by Disqus