summaryrefslogtreecommitdiffstats
path: root/HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8center/8.7.4.a.index.html
blob: 8ac938e8fa38e9170bfe8115ed47806913119b51 (plain) (blame)
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
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Page Title Goes Here</title>
        <style>

body { 
    margin: 0; 
}

header { 
    display: flex; min-height: 100vh;
    background-image: url(8.7.lake.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat; 
}

h1 { 
    color: #FFFFFF; font-family: Arial, sans-serif; 
    margin: auto;
}

        </style>
    </head>
    <body>
        <header>
            <h1>Centered Heading</h1>
        </header>
        <main>
            Additional page content and navigation go here
        </main>

    </body>
</html>