-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-bootstrap.html
More file actions
144 lines (135 loc) · 3.28 KB
/
Copy pathindex-bootstrap.html
File metadata and controls
144 lines (135 loc) · 3.28 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html>
<head>
<title>Grace's Style Guide</title>
<meta charset="utf-8">
<link type="text/css" rel="stylesheet" href="bootstrap.css">
<link type="text/css" rel="stylesheet" href="bootstrap-responsive.css">
<script type="text/javascript" src="bootstrap.js"></script>
<style type="text/css">
body {
font-family: Helvetica;
margin: 0;
margin-bottom: 20px;
}
main {
display: block;
width: 800px;
margin: 0 auto;
}
p {
font-size: 12px;
}
h1 {
text-align: center;
}
table, tr, th, td {
border: 1px solid black;
}
dt {
font-style: italic;
}
dd, li {
font-size: 12px;
}
h1, h2, h4 {
color: #360B57;
}
h4 {
margin-bottom: 2px;
-webkit-margin-after: 0; !important
}
textarea {
width: 500px;
height: 200px;
}
button {
padding: 8px;
font-size: 12px;
}
ul {
list-style-type: square;
}
ol {
list-style-type: upper-roman;
}
</style>
</head>
<body>
<h1>Grace's Style Guide</h1>
<main>
<header>
<h2>Sections</h2>
<h3>Here are examples of various <strong>HTML elements</strong> that make up a section.</h3>
</header>
<hr>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam eget augue lectus. Curabitur id pharetra felis. Quisque eget sapien massa. Proin libero enim, volutpat et semper ac, luctus nec ipsum.</p>
<hr>
<blockquote>"I like making lists for no reason." <i>-Style Guide Authors</i></blockquote>
<section><!-- Kinds of lists -->
<h4>Why unordered lists are better</h4>
<ul>
<li>The bullets can have cool styles.</li>
<li>Numbers are confusing.</li>
<li>All items get equal treatment.</li>
</ul>
<h4>Why ordered lists are superior</h4>
<ol>
<li>They're good for comparing things.</li>
<li>To-do lists.
<li>I can't think of anything else.</li>
</ol>
<h4>The many definitions of hella</h4>
<dl>
<dt>"hella"</dt>
<dd>really</dd>
<dd>intensely</dd>
<dd>lots of</dd>
<dd>pretending to be from NorCal</dd>
</dl>
</section>
<hr>
<table>
<caption>A table about styles of dance</caption>
<tr>
<th>Dance</th>
<th>Description</th>
</tr>
<tr>
<td>Waltz</td>
<td>Graceful and flowing</td>
</tr>
<tr>
<td>Salsa</td>
<td>Sexy and stylish</td>
</tr>
<tr>
<td>Swing</td>
<td>Energetic and bouncy!</td>
</tr>
</table>
<hr>
<h4>A form example</h4>
<form>
<input type="text" placeholder="blah blah blah"></input><br>
<textarea>Type anything you want!</textarea><br>
<button>Don't click me!</button>
</form>
<br>
<hr>
<figure>
<img src="http://www.stockvault.net/data/s/109704.jpg" alt="royalty-free puppy">
<figcaption>Look, a <b>royalty-free</b> puppy!</figcaption>
</figure>
<hr>
<footer>
<address>Contact gckwan (at) stanford.</address>
<aside>
This page was created for <a href="http://stanford.coursera.org/cme184-001/class/index">CS184</a> HW3.
<br>
<small>The professors are <span class="red">Srinivasan and Pande</span>.</small>
</aside>
</footer>
</main>
</body>
</html>