Html table forms

  • Hallo, vllt. könnt ihr mir weiterhelfen. Im Anhang habe ich die Aufgabenstellung. Wie bekomme ich die 2 spalten von PLZ, Ort bzw. Straße und Hausnummer mit span realisiert?

    Ich komm einfach nicht weiter. Danke schonmal

    <!DOCTYPE html>

    <html>

    <head>

    <meta charset="UTF-8">

    <title>Registrierung</title>

    </head>

    <body>

    <h1>Registrierung</h1>

    <form action="" method="get">

    <table>

    <tr>

    <td><label for="first-name">Vorname</label></td>

    <td><input id="first-name" name="first-name" type="text"></td>

    </tr>

    <tr>

    <td><label for="last-name">Nachname</label></td>

    <td><input id="last-name" name="last-name" type="text"></td>

    </tr>

    <tr>

    <td><label for="street">Straße</label></td>

    <td><input id="street" name="street" type="text"></td>

    </tr>

    <tr>

    <td><label for="post-code">PLZ</label></td>

    <td><input id="post-code" name="post-code" type="text"></td>

    </tr>

    <tr>

    <td><label for="email">E-mail</label></td>

    <td><input id="email" name="email" type="text"></td>

    </tr>

    <tr>

    <td><label for="userid">Benutzer-ID</label></td>

    <td><input id="userid" name="userid" type="text"></td>

    </tr>

    <tr>

    <td><label for="passwd">Passwort</label></td>

    <td><input id="passwd" name="passwd" type="password"></td>

    </tr>

    <tr>

    <td></td>

    <td>

    <button type="submit">Registrieren</button>

    <button type="reset">Abbrechen</button>

    </td>

    </tr>

    </table>

    </form>

    </body>

    </html>

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!