#learningCSS
Explore tagged Tumblr posts
Text
Body{
backgroung-color: green;
font family: aerial, helvética, sans-serif;
font-size: 16px;
font-weight: normal;
}
P{
font family: helvetica: sans-serif
Line spacing: 1.5;
}
2 notes
·
View notes
Text
Introduction to CSS.
Hello guys, I bring you good news. we are done with html and Ruairi says we would be learning CSS next. I know it looks like we just had a short time to learn html and just when I started to finally understand html fully, boom, we are moving to CSS lol.
CSS is known as cascading style sheet.
Wikipedia explains is a style sheet language used for describing the presentation of a document written in a markup language such as html.
Ruairi made us understand that CSS is a simple mechanism for adding style like colors, fonts and space to web documents. he also explained that CSS can control size, color, text and position.
CSS can be added in 3 ways and they are: embedded, external and inline. Ruairi says the preferred way is external style sheet and we will be using this for the his course. external style sheet separate's documents linked to the html page, its easy and quick to update, separation of contents and presentation.
To link a CSS file we use the <link> element
<link rel="stylesheet" href="style.css>
0 notes