forked from DigitalHistory/css-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (38 loc) · 1.64 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>CSS exercise</title>
<link href="./style.css" rel="stylesheet"/>
</head>
<body>
<main>
<nav>CSS Layout Exercise for <a href="https://digitalhistory.github.io">Digital History (HIS393)</a></nav>
<aside>Sidebar ("Aside")</aside>
<article>
<header>
<h1>main > article > header > h1. I also contain a <span>span element</span>, which displays inline by default. </h1>
</header>
<section class="content">
<h2>main > article > section.content > h2</h2>
<p class="normal">Here is a normal paragraph</p>
<p class="normal">Here is another normal paragraph</p>
<ul id="mainlist">
<li class="red">List item 1 -- class of red</li>
<li>List item 2</li>
<li id="special">List item 3 -- id of special</li>
<li>List item 6</li>
</ul>
<div class="child-and-grand">
<p>just filling space but you can style me if you like. </p>
<div>
<p>bla bla bla <strong>bla</strong> bla bla. </p>
</div>
</div>
</section>
<footer class="inner">main > article > footer</footer>
</article>
<footer class="outer">main > footer</footer>
</main>
</body>
</html>