summaryrefslogtreecommitdiffstats
path: root/HTML/Chapter/Ch. 7 hands-on assignments/Ch7_msglm/7.1.box1.html
blob: 318d34c44dd7e008cc743da7620cc6dae9732681 (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
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>CSS</title>
        <meta charset="utf-8">
        <style>
.div1 { 
    width: 200px;
    height: 200px;
    background-color: #D1ECFF;
    border: 3px dashed #000000;
    padding: 5px; 
}
        </style>
    </head>
    <body>
        <div class="div1">
            This is the first box.
        </div>
        <div class="div2">
            This is the second box.
        </div>

    </body>
</html>