summaryrefslogtreecommitdiffstats
path: root/HTML/Chapter/Ch. 9 hands-on assignments/Ch9_msglm/ch9table/9.4.menu2.html
blob: db73610e4b724803477975982f35abed2b23e160 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en"> 
    <head>
        <title>Lighthouse Island Bistro</title>
        <meta charset="utf-8">
        <style>
table { 
    margin: auto;
    border: 5px solid #000066;
    width: 600px;
    border-spacing: 0;
}

caption { 
    font-family: Verdana, sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    padding-bottom: 5px;
}


td, th { 
    padding: 5px;
    font-family: Arial, sans-serif;
    border-style: none;
}

tr:nth-of-type(even) { 
    background-color: #eaeaea;
}

tr:first-of-type { 
    background-color: #006;
    color: #eaeaea; 
}


        </style>
    </head>
    <body>
        <table> 
            <caption>Lighthouse Island Bistro Specialty Coffee Menu</caption>
            <tr>
                <th>Specialty Coffee</th>
                <th>Description</th>
                <th>Price</th>
            </tr>
            <tr>
                <td>Lite Latte</td>
                <td>Indulge in a shot of espresso with steamed, skim milk</td>
                <td>$3.50</td>
            </tr>
            <tr>
                <td>Mocha Latte</td>
                <td>Choose dark or milk chocolate with steamed milk</td>
                <td>$4.00</td>
            </tr>
            <tr>
                <td>MCP Latte</td>
                <td>A luscious mocha latte with caramel and pecan syrup</td>
                <td>$4.50</td>
            </tr>
        </table>

    </body>
</html>