-
Notifications
You must be signed in to change notification settings - Fork 0
/
0.00_cssSetup.html
38 lines (36 loc) · 1.15 KB
/
0.00_cssSetup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<head>
<title>Css Setup</title>
<link rel="stylesheet" href="./0.00.cssSetup.css">
</head>
<style>
h3 , h4 {
color: blue;
font-style: italic;
font-family: sans-serif;
font-size: 25px;
}
</style>
<body>
<h1>CSS Notes</h1>
<div style="margin: 20px">
<h3>The purpose of CSS is</h3>
<ul>
<li>CSS can be included within html elements using the style attribute</li>
<li>CSS can be used with the style html element</li>
<li>CSS is altering colors, fonts, backgrounds, etc.</li>
<li>CSS can implement some effects and animations</li>
</ul>
<h4>CSS Statements</h4>
<p>Four main components include the following:</p>
<ol>
<!-- these are different ways to bold text -->
<li><span class="bold">Declaration:</span> the statement as a whole with curly braces.</li>
<li><span class="bold">Selector:</span> the name of the part you want to style.</li>
<li><b>Property:</b> properties to edit(e.q., width, height, background, etc.)</li>
<li><strong>Value:</strong> numbers, colors, urls - values that we assign.</li>
</ol>
</div>
</body>
</html>