-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss2.html
More file actions
37 lines (36 loc) · 806 Bytes
/
css2.html
File metadata and controls
37 lines (36 loc) · 806 Bytes
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
<!DOCTYPE html>
<!-- Implements a simple web page and demostrates CSS classes-->
<html lang="en">
<head>
<style>
.centered
{
text-align: center;
}
.large
{
font-size: large;
}
.medium
{
font-size: medium;
}
.small
{
font-size: small;
}
</style>
<title>css2</title>
</head>
<body class="centered">
<header class="large">
John Harvard
</header>
<main class="medium;">
Welcome to my page!
</main>
<footer class="small;">
Copyright © John Harvard
</footer>
</body>
</html>