Webbserverprogrammering 1

Show sourcecode

The following files exists in this folder. Click to view.

public_html/exercises/

Projekt/
cm.html
formPostTest/
index.html
javascript.html
ovning0.html
ovning01.html
ovning02.html
ovning03.html
ovning04.html
ovning06.html
ovning07.html
ovning08.html
ovning09.css
ovning09ap.html
ovning09app.html
ovning09ba.html
ovning10.html
ovningjs02.html
piano.html
quizeovning.php
spel.html
test.html

ovning06.html

61 lines UTF-8 Windows (CRLF)
<!DOCTYPE html>
<html lang="sv">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>övning 6</title>

    <style>
        .color-card {
            width: 200px;
            height: 120px;
            position: absolute;
        }
        #blue {
            background-color: blue;
        }
        #green {
            background-color: green;
            left: 60px;
            top: 30px;
        }
        #yellow {
            background-color: yellow;
            left: 30px;
            top:60px;
        }
        .image {
            position:relative;
            top: 180px;
        }
        img {
            width: 400px;

            border-style: solid;
            border-color: red;
            border-width: 5px;
            text-align: right;
        }
        p{
            width: 400px;
            transform: translate(0, -900%);
            text-align: right;
            text-decoration: line-through;
        }
    </style>
</head>
<body>
    <div>
        <span class="color-card" id="blue">hej</span>
        <span class="color-card" id="green">hej</span>
        <span class="color-card" id="yellow">hej</span>
    </div>
    <div class="image">
        <img src="Bilder/metallong.jpg">
            <p>
                tadaaaljngfaohgkahufkjabghdgasfjkahgfkuahik
            </p>
        </img>
    </div>
</body>
</html>