Form UI using HTML and CSS































Hello Developers, we provide you with a dynamic and eye-catching Contact form HTML using only HTML and CSS to display your information at a glance. This Contact form html snippet has been designed with accuracy using HTML and CSS to create an easy-to-use authentication experience. The Contact form snippet includes entry fields for your user’s name, email address, and subtle placeholders to help your user navigate the contact form. It also includes a message box where your message can be written. The contact form also includes a submit button. You can also add your organization’s address on the left side of the Contact form. Your contact form will always look neat and organized no matter whether it’s a desktop, laptop, tablet, or smartphone. By using this HTML & CSS Contact form html snippet, you are not only sharing information, but you’re also demonstrating your commitment to professionalism and modern web design. In conclusion, show off and engage with the world using this innovative and creative Contact form html snippet. Note: We have coded CSS in a separate file and linked it to the HTML file to create the HTML snippet for the contact form.

How to make Form UI using html and css.[Source Code]

To make this website, you would like to make two files: an HTML file, a CSS file. First, create an HTML file with the name of index.html and remember, you have to create a file with a .html extension.

<!DOCTYPE html> <html> <head> <title>Form UI design - Learningrobo </title> <meta name="description" content="Form UI design - learningrobo"> <meta name="author" content="learningrobo.com"> <meta name="keywords" content="form,responsive,learningrobo.com,html & css projects,project"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="icon" type=image/x-icon href="#"> <link rel="stylesheet" href="style.css"> <meta charset="UTF-8"> <script src="https://kit.fontawesome.com/5d72166fb5.js" crossorigin="anonymous"></script> </head> <body> <!--Hello Future Developer Thanks for Using learningrobo.com, Share & Support us--> <div class="container"> <div class="p1"> <div class="contact-info"> <h2>Contact Information</h2> <div class="info1"> <p>we're are open for any suggestions and ideas</p> </div> <div class="info2"> <div class="logo1"> <ion-icon name="navigate-circle-outline"></ion-icon> </div> <span>123 Main Street, City, Country</span> </div> <div class="info3"> <div class="logo2"> <ion-icon name="call-outline"></ion-icon> </div> <span>+1 (123) 456-7890</span> </div> <div class="info4"> <div class="logo3"> <ion-icon name="mail-outline"></ion-icon> </div> <span>contact@example.com</span> </div> <div class="info5"> <div class="logo4"> <ion-icon name="earth-outline"></ion-icon> </div> <a href="#" target="_blank">www.example.com</a> </div> </div> <div class="contact-form"> <h2>Contact Us</h2> <form action="#"> <div class="input-group"> <label for="" style="color: aliceblue;">Name</label> <input type="text" name="name" class="input" placeholder="Your Name" required> </div> <div class="input-group"> <label for="" style="color: aliceblue;">Email</label> <input type="email" name="email" class="input" placeholder="Your Email"required> </div> <div class="input-group"> <label for="" style="color: aliceblue;">Subject</label> <input type="text" name="subject" class="input" placeholder="Subject" required> </div> <div class="input-group"> <label for="" style="color: aliceblue;">Message</label> <textarea name="message" placeholder="Your Message" required></textarea> </div> <div class="submit-btn"> <input type="submit" value="Send"> </div> </form> </div> </div> <div class="credit">Made with <span>❤ </span>by <a href="https://www.learningrobo.com/">Learningrobo</a></div> </div> <script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script> <script nomodule src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"></script> <!--Check our website Regularly For New Snippets Post--> </body> </html>
CSS provides style to an HTML page. To make the page attractive create a CSS file with the name style.css and remember that you have to make a file with a .css extension.


/** 
Hello Future Developer Thanks for Using learningrobo.com, 
Check our website Regularly For New Snippets Post.

Share & Support us
**/
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@500&display=swap');
*{
    box-sizing: border-box;
}
body{
    margin:0px;
}
.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to right, #434343 0%, black 100%);
    font-family: 'Exo 2', sans-serif;
    height: 100vh;
    width:100%;
}
.p1{
    width: 800px;
    height: 500px;
    display: flex;
    border: 5px solid gray;
    border-radius: 15px;
}
.contact-info{
    width:50%;
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content:space-evenly;
}
.contact-info h2{
    font-size: 24px;
    margin-bottom: 20px;
}
.contact-info .info-item a{
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
    transition: color 0.3s;
}
.contact-form{
    width:50%;
    background-color: #444;
    padding: 20px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.contact-form h2{
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
}
.input-group{
    margin: 15px 0;
}
.input{
    width:100%;
    padding: 10px;
    background-color: #555;
    border: 1px solid #777;
    border-radius: 5px;
    color: #fff;
    outline: none;
}
textarea{
    width: 100%;
    height:100px;
    padding: 10px;
    background-color: #555;
    border: 1px solid #777;
    border-radius: 5px;
    color: #fff;
    outline: none;
}
.submit-btn{
    margin-top: 15px;
}
input[type="submit"]{
    background:aquamarine;
    color: black;
    padding: 10px 20px;
    border: none;
    height: 35px;
    width: 100px;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    border: 2px solid gray;
}
input[type="submit"]:hover{
    background:white;
    color: black;
    height: 36px;
    width: 102px;
}
.info1{
    display: flex;
    align-items: center;
}
.info2{
    display: flex;
    align-items: center;
    column-gap:10px;
    cursor: pointer;
}
.info3{
    display: flex;
    align-items: center;
    column-gap:10px;
    cursor: pointer;
}
.info4{
    display: flex;
    align-items: center;
    column-gap:10px;
    cursor: pointer;
}
.info5{
    display: flex;
    align-items: center;   
    column-gap:10px;
}
.info5 a{
    color: white;
    text-decoration: none;
    cursor: pointer;
}
.info5 a:hover{
    color: lightcoral;
    text-decoration: underline;
}
.contact-info h2{
    color:aquamarine;
}
.contact-form h2{
    color: aquamarine;
}
.info2:hover{
    text-decoration: underline;
    color: lightcoral;
}
.info3:hover{
    text-decoration: underline;
    color: lightcoral;
}
.info4:hover{
    text-decoration: underline;
    color: lightcoral;
}
@media screen and (max-width: 630px){
    .container{
        padding:10px 0px;
        height: fit-content;
    }
    .p1{
        width:98%;
        height:fit-content;
        display: flex;
        flex-direction: column;
    }
    .contact-info,.contact-form{
        width:100%;
        height: fit-content;
        border-radius:10px;
    }
}
.credit a{
    text-decoration: none;
    color: #ddd;
    font-weight: 800;
}
.credit{
    color: #ddd;
    text-align: center;
    margin-top: 10px;
    font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
    color:tomato;
    font-size:20px;
}     
We hope you would like this Form UI using html and css.

Thank you for reading our blog. If you face any problem in Creating a Form UI using html and css., then contact us or comment to us. We’ll try to provide a solution to your problem as soon as possible.

Press The Key ' p ' and say ' read article ' our voice assistant read our article.
In Our older post it doesnot work we working on that.

Thank you
Learning robo team

Post a Comment

Thank you
Learning robo team

Post a Comment (0)

Previous Post Next Post
Learning Robo says...
code copied
Welcome