This repository was archived by the owner on Sep 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss-formatting.html
72 lines (63 loc) · 2.03 KB
/
css-formatting.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<html>
<head>
<title>LUNCHTML 2.0 - Review: MVP Tags</title>
<link rel="stylesheet" type="text/css" href="style-review.css" />
<link rel="stylesheet" type="text/css" href="style-css.css" />
<link href='http://fonts.googleapis.com/css?family=Ribeye+Marrow' rel='stylesheet' type='text/css'>
</head>
<body>
<h1>CSS Formatting</h1>
<a name="bold"><br/><br/><br/><h2>font-weight: bold</h2>
HTML:
<pre>
make a <span style="font-weight: bold">bold statement</span>
</pre>
RESULT:
make a <span style="font-weight: bold">bold statement</span>
<div class="nav">
<a href="#bold">font-weight: bold</a> |
<a href="#italic">font-style: italic</a> |
<a href="#color">color</a> |
<a href="#size">font-size</a>
</div>
<a name="italic"><br/><br/><br/><h2>font-weight: bold</h2>
HTML:
<pre>
make an <span style="font-style: italic">italicized statement</span>
</pre>
RESULT:
make an <span style="font-style: italic">italicized statement</span>
<div class="nav">
<a href="#bold">font-weight: bold</a> |
<a href="#italic">font-style: italic</a> |
<a href="#color">color</a> |
<a href="#size">font-size</a>
</div>
<a name="color"><br/><br/><br/><h2>font-weight: bold</h2>
HTML:
<pre>
make a <span style="color: #ff0000">red statement</span>
</pre>
RESULT:
make a <span style="color: #ff0000">red statement</span>
<div class="nav">
<a href="#bold">font-weight: bold</a> |
<a href="#italic">font-style: italic</a> |
<a href="#color">color</a> |
<a href="#size">font-size</a>
</div>
<a name="size"><br/><br/><br/><h2>font-weight: bold</h2>
HTML:
<pre>
make a <span style="font-size: 5em">big statement</span>
</pre>
RESULT:
make a <span style="font-size: 5em">big statement</span>
<div class="nav">
<a href="#bold">font-weight: bold</a> |
<a href="#italic">font-style: italic</a> |
<a href="#color">color</a> |
<a href="#size">font-size</a>
</div>
</body>
</html>