eeeehm, so what?
After reading the statement “You are the CSS to my HTML” on a t-shirt I was not able to understand it. This lack of knowledge made me feel stupid and uncomfortable. On the one hand side this might be the problem of missing technical know-how but on the other hand it is definitely my fear of technology. Till now I didn’t want to gain more information concerning this topic because I was scared of not understanding it. BUT I figured out that this is really not a big deal.
In my today’s post I want to overcome this fear and want to say “Bye, bye fear of technology!” and “Hello pleasure working with it!”
I’m going to explain CSS, its characteristics and features and the reasons of style sheets.
Cascading Style Sheets (CSS) is a style sheet language used to describe the look and formatting of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML.
Ok. Now my understanding and translation: CSS is a language that is used to create your personlised homepage. You can ‘beautify’ your homepage with different fonts, colours, wallpapers etc.
Sounds cool, right?
So, stylesheets are the direct complement to HTML. It is a language for defining attributes of HTML elements. Using stylesheets you can determine, for example, that for headings of 1st order a large font size has to be provided, in the font Arial, but not fat and that these headings should appear at a distance of 1.5 cm to the next paragraph. These statements are not possible with HTML alone.
But this is not all- stylesheets are also able to provide different background colours, wallpapers and various frames for paragraphs, lists or forms . With CSS you can position elements in the display window of the web browser and define distances.
In general, stylesheets support the professional design of web design and they assist with corporate design for large projects or for company-specific layouts.
They consist of formats that you define for certain HTML elements or for a certain set of HTML elements. CSS styles can be defined either in a central area of style, in an external CSS file or directly in the opening tag of an HTML element. They also consist of one or more features and value assignments to these features.
This image illustrates in a very understandable way (also for technic-scared people like me!) what style sheets are good for. As you can see is the appearance of the content, that is linked to the HTML document, depending on a CSS file- so that the user is able to discover a well-designed web site.
For those who want to leran more on how to use this language: this tutorial will help you!
So all in all, I can confirm what I’ve said at the beginning: It is nota big deal. You’ll always find forums/ web sites/ videos etc. that are explaning the most difficult things in an understandable way.
And now I do understand the statement “You are the CSS to my HTML” . Ha, romantic… :)