-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic.html
More file actions
181 lines (155 loc) · 6.33 KB
/
basic.html
File metadata and controls
181 lines (155 loc) · 6.33 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css" >
<title> Project0 - The Basics </title>
</head>
<body>
<nav class="navbar navbar-expand-sm navbar-dark bg-dark">
<a class="navbar-brand" href="index.html"> CSCI-S-33a </a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample03" aria-controls="navbarsExample03" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarsExample03">
<ul class="navbar-nav mr-auto">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown03" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">HTML & CSS Examples</a>
<div class="dropdown-menu" aria-labelledby="dropdown03">
<a class="dropdown-item" href="basic.html">Basic HTML Examples </a>
<a class="dropdown-item" href="media.html">Media Query Examples </a>
<a class="dropdown-item" href="bootstrap.html">Bootstrap Examples </a>
<a class="dropdown-item" href="scss.html">SCSS Examples </a>
</div>
</li>
</ul>
</div>
</nav>
<div class="container">
<h1> Basic HTML Examples </h1>
<p> This section covers some basic HTML structures. Specifically: ordered lists, unordered lists and tables. Note the cool CSS applied.</p>
<article>
<h2> Ordered List </h2>
<p>
This is an example of an ordered list. Note you can add unordered and ordered lists to this ordered list.
</p>
<p>
I applied CSS selectors for this including ones for id, class, hover and for children.
</p>
<ol>
<li>
Pizza
<ul>
<li id="favorite">
Pepperoni
</li>
<li>
3-Cheese
</li>
<li class="awesome">
Carna-trio
</li>
</ul>
</li>
<li>
Spagetti
<ul>
<li class="awesome">
Marina Sauce
</li>
<li>
Meatball
</li>
<li>
Fra-diavolo
</li>
</ul>
</li>
</ol>
</article>
<article>
<h2> Unordered List </h2>
<p> This is an unordered list, note you can add ordered lists to it!</p>
<ul>
<li>
Best Countries to party
<ol>
<li> Russia </li>
<li> France </li>
<li> United Kingdom </li>
<li> China </li>
<li> Japan </li>
<li> Ecuadore </li>
</ol>
</li>
<li>
Best Countries to Dance
<ol>
<li> Argentina </li>
<li> Chile </li>
<li> Mexico </li>
<li> Peru </li>
<li> Laos</li>
</ol>
</li>
</ul>
</article>
<article>
<h2> Table </h2>
<p> This is a table, used for tabular data. It rocks! I used some pokemon pictures to make this more fun! </p>
<p> I added cool nth-child selectors so that even and odd rows are a certain color.</p>
<table>
<tr>
<th>Pokemon</th>
<th>Name</th>
<th>Awesomeness</th>
</tr>
<tr>
<td><img src="images/Altaria.png" alt="altaria"></td>
<td> Altaria </td>
<td> 10 </td>
</tr>
<tr>
<td><img src="images/Electrode.png" alt="Electrode"></td>
<td>Electrode</td>Electrode
<td>10</td>
</tr>
<tr>
<td><img src="images/Escavalier.png" alt="Escavalier"></td>
<td> Escavalier </td>
<td>10</td>
</tr>
<tr>
<td><img src="images/Magnezone.png" alt="Magnezone"></td>
<td>Magnezone</td>
<td>9</td>
</tr>
<tr>
<td><img src="images/Pachirisu.png" alt="Pachirisu"></td>
<td> Pachirisu </td>
<td>9</td>
</tr>
<tr>
<td><img src="images/Pangoro.png" alt="Pangoro"></td>
<td>Pangoro</td>
<td>9</td>
</tr>
<tr>
<td><img src="images/Rhydon.png" alt="Rhydon"></td>
<td>Rhydon</td>
<td>9</td>
</tr>
</table>
</article>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>