<!DOCTYPE html>
<html>
    <head>
        <title>DATA DIRI MAHASISWA</title>
        <style>
            label{width: 100px;
            display: inline-block;
            margin-bottom: 15px; 
            background-color: #7fe5f3;

        }
        </style>
    </head>
    <body>
        <form action="action_biodata.php" method="POST">
            <label>Nama</label>
            <input type="text" name="nama" /></br>

            <label>Umur</label>
            <input type="text" name="umur" /></br>

            <label>Gender</label>
            <input type="radio" name="gender" value="Perempuan" />Perempuan
            <input type="radio" name="gender" value="Laki-laki" />Laki-laki</br>

            <label>Hobi</label>
            <input type="checkbox" name="hobi[] " value="Olahraga" />Olahraga
            <input type="checkbox" name="hobi[] " value="Desain" /> Desain
            <input type="checkbox" name="hobi[] " value="Rebahan" /> Rebahan
            <input type="checkbox" name="hobi[] " value="Membaca" /> Membaca </br>

            <label>Pendidikan</label>
            <select name="pendidikan">
            <option value="SD"> SD </option>
            <option value="SMP"> SMP </option>
            <option value="SMA"> SMA </option>
            <option value="S1"> S1 </option>
</select></br>

            <label>Alamat</label>
            <textarea name="alamat"></textarea></br>

            <input type="submit" name="submit" value="Kirim"/>
</form>
    </body>


</html>