File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ < DOCTYPE html! >
2
+ < html >
3
+ < head >
4
+ < title > CSS Exercises 1</ title >
5
+ < style >
6
+ p {
7
+ color : blue;
8
+ font-family : 'Helvetica' ;
9
+ font-size : 16px ;}
10
+ h1 {color : red;}
11
+ ul li {background-color : yellow;}
12
+ h2 {color : green; background-color : orange;}
13
+ ol li {background-color : teal;}
14
+ </ style >
15
+ </ head >
16
+ < body >
17
+ < h1 > Make me red!</ h1 >
18
+
19
+ < p > I am a paragraph I should be blue, Helvetica, size 16px.</ p >
20
+
21
+ < ul >
22
+ < li > This is an unordered list.</ li >
23
+ < li > All items in this list should have a yellow background.</ li >
24
+ < li > Just the items though - not the whole list!</ li >
25
+ </ ul >
26
+
27
+ < h2 > Make me green on an orange background</ h2 >
28
+
29
+ < p > I am a paragraph I should be blue, Helvetica, size 16px.</ p >
30
+
31
+ < ol >
32
+ < li > This is an ordered list.</ li >
33
+ < li > All items in this list should have a fuscia background.</ li >
34
+ < li > Just the items thought - not the whole list!</ li >
35
+ </ ol >
36
+
37
+ </ body >
38
+ </ html >
You can’t perform that action at this time.
0 commit comments