DEV Community

Cover image for How to Create Contact Form using HTML and CSS
Code with Random
Code with Random

Posted on

How to Create Contact Form using HTML and CSS

Today we are going to create a contact form but first, let me introduce what exactly a contact form is.
A contact form is a short web-based form published on a website. Any visitor can fill out the form and submit it to send a message to the site owner.
Publishing a contact form makes it easy for new customers to get in touch.

HTML 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>Document</title>
      <link rel="stylesheet" href="style.css" />

Enter fullscreen mode Exit fullscreen mode

read more

Top comments (0)