webdevh4.3

<!--opdracht 1: verplaats alle opmaak van de vorige opdracht 1
naar een centraal CSS-bestand en maak de benodigde verwijzing
in de header.-->

<!DOCTYPE html>
<html lang="nl">

<head>
    <title>Opdracht 1</title>
	<link rel="stylesheet" type="text/css" href="style.css">
</head>

<body>

    <h1>Webpagina</h1>

    <hr>

    <table>
        <tr>
            <td class="opmaak2" colspan="3">Broeken</td>
        </tr>
        <tr>
            <td class="opmaak3">S</td>
            <td class="opmaak3">M</td>
            <td class="opmaak3">L</td>
        </tr>
        <tr>
            <td>43</td>
            <td>56</td>
            <td>88</td>
        </tr>
        <tr>
            <td>23</td>
            <td>12</td>
            <td>23</td>
        </tr>
        <tr>
            <td>12</td>
            <td>76</td>
            <td>14</td>
        </tr>
        <tr>
            <td>18</td>
            <td>34</td>
            <td>67</td>
        </tr>
        <tr>
            <td>45</td>
            <td>19</td>
            <td>43</td>
        </tr>
    </table>

</body>

</html>

Download hier het bestand.
<!--opdracht 2: verplaats alle opmaak van de vorige opdracht 2
naar een centraal CSS-bestand en maak de benodigde verwijzing
in de header.-->

<!DOCTYPE html>
<html lang="nl">

<head>
    <title>Opdracht 2</title>
	<link rel="stylesheet" type="text/css" href="style.css">
</head>

<body>

    <h1>Webpagina</h1>

    <hr>

    <table>
        <tr>
            <td class="opmaak1" colspan="7">Voorraad</td>
        </tr>
        <tr>
            <td class="opmaak2" colspan="3">Broeken</td>
            <td class="opmaak2" colspan="2">T-shirts</td>
        </tr>
        <tr>
            <td class="opmaak3">S</td>
            <td class="opmaak3">M</td>
            <td class="opmaak3">L</td>
            <td class="opmaak3">M</td>
            <td class="opmaak3">L</td>
        </tr>
        <tr>
            <td>43</td>
            <td>56</td>
            <td>88</td>
            <td>34</td>
            <td>53</td>
        </tr>
        <tr>
            <td>23</td>
            <td>12</td>
            <td>23</td>
            <td>44</td>
            <td>23</td>
        </tr>
        <tr>
            <td>12</td>
            <td>76</td>
            <td>14</td>
            <td>48</td>
            <td>12</td>
        </tr>
        <tr>
            <td>18</td>
            <td>34</td>
            <td>67</td>
            <td>19</td>
            <td>21</td>
        </tr>
        <tr>
            <td>45</td>
            <td>19</td>
            <td>43</td>
            <td>11</td>
            <td>18</td>
        </tr>
    </table>

</body>

</html>

Download hier het bestand.
<!--opdracht 3: verplaats alle opmaak van de vorige opdracht 3
naar een centraal CSS-bestand en maak de benodigde verwijzing
in de header.-->

<!DOCTYPE html>
<html lang="nl">

<head>
    <title>Opdracht 3</title>
	<link rel="stylesheet" type="text/css" href="style.css">
</head>

<body>

    <h1 style="color:blue;">Webpagina</h1>

    <hr>

    <table border="1" width="100%">
        <tr>
            <td class="opmaak1" colspan="7">Voorraad</td>
        </tr>
        <tr>
            <td></td>
            <td class="opmaak2" colspan="3">Broeken</td>
            <td class="opmaak2" colspan="2">T-shirts</td>
        </tr>
        <tr>
            <td></td>
            <td class="opmaak3">S</td>
            <td class="opmaak3">M</td>
            <td class="opmaak3">L</td>
            <td class="opmaak3">M</td>
            <td class="opmaak3">L</td>
        </tr>
        <tr>
            <td class="opmaak3">Amsterdam</td>
            <td>43</td>
            <td>56</td>
            <td>88</td>
            <td>34</td>
            <td>53</td>
        </tr>
        <tr>
            <td class="opmaak3">Alkmaar</td>
            <td>23</td>
            <td>12</td>
            <td>23</td>
            <td>44</td>
            <td>23</td>
        </tr>
        <tr>
            <td class="opmaak3">Haarlem</td>
            <td>12</td>
            <td>76</td>
            <td>14</td>
            <td>48</td>
            <td>12</td>
        </tr>
        <tr>
            <td class="opmaak3">Rotterdam</td>
            <td>18</td>
            <td>34</td>
            <td>67</td>
            <td>19</td>
            <td>21</td>
        </tr>
        <tr>
            <td class="opmaak3">Den Haag</td>
            <td>45</td>
            <td>19</td>
            <td>43</td>
            <td>11</td>
            <td>18</td>
        </tr>
    </table>

</body>

</html>

Download hier het bestand.
<!--opdracht 4: verplaats alle opmaak van de vorige opdracht 4
naar een centraal CSS-bestand en maak de benodigde verwijzing
in de header.-->

<!DOCTYPE html>
<html lang="nl">

<head>
    <title>Opdracht 4</title>
	<link rel="stylesheet" type="text/css" href="style.css">
</head>

<body>

    <h1 style="color:blue;">Webpagina</h1>

    <hr>

    <table border="1" width="100%">
        <tr>
            <td class="opmaak1" colspan="7">Voorraad</td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td class="opmaak2" colspan="3">Broeken</td>
            <td class="opmaak2" colspan="2">T-shirts</td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td class="opmaak3">S</td>
            <td class="opmaak3">M</td>
            <td class="opmaak3">L</td>
            <td class="opmaak3">M</td>
            <td class="opmaak3">L</td>
        </tr>
        <tr>
            <td class="opmaak2" rowspan="3">Noord Holland</td>
            <td class="opmaak3">Amsterdam</td>
            <td>43</td>
            <td>56</td>
            <td>88</td>
            <td>34</td>
            <td>53</td>
        </tr>
        <tr>
            <td class="opmaak3">Alkmaar</td>
            <td>23</td>
            <td>12</td>
            <td>23</td>
            <td>44</td>
            <td>23</td>
        </tr>
        <tr>
            <td class="opmaak3">Haarlem</td>
            <td>12</td>
            <td>76</td>
            <td>14</td>
            <td>48</td>
            <td>12</td>
        </tr>
        <tr>
            <td class="opmaak2" rowspan="2">Zuid Holland</td>
            <td class="opmaak3">Rotterdam</td>
            <td>18</td>
            <td>34</td>
            <td>67</td>
            <td>19</td>
            <td>21</td>
        </tr>
        <tr>
            <td class="opmaak3">Den Haag</td>
            <td>45</td>
            <td>19</td>
            <td>43</td>
            <td>11</td>
            <td>18</td>
        </tr>
    </table>

</body>

</html>

Download hier het bestand.
table {
	width: 100%;
}

table, td, tr {
	border: 1px solid black;
}

td.opmaak1 {
	font-weight: bold; 
	text-align: center; 
	background-color: green;
}

td.opmaak2 {
	background-color: lightblue;
}

td.opmaak3 {
	background-color: lightgrey;
}

h1 {
	color: blue;
	font-weight: bold;
}

p {
	color: green;
}

Download hier het bestand.