summaryrefslogtreecommitdiffstats
path: root/HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8center/8.7.3.index.html
blob: d338ba25249c9e6b29a4ed7a025f15e8d3c9875f (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;
    justify-content: center; align-items: center;
    background-image: url(8.7.lake.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat; 
}

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

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

    </body>
</html>