The Easy Way How To Create a Form in HTML

The first thing you need to decide to make a form in HTML is the type of the form you want to create. Online forms are most commonly used for:

  • Newsletter Sign up
  • Customer Feedback
  • Sales Contact Requests
  • Event or Contest Registration
  • Online Orders and Payment

Each of these form types requires different input fields, so it’s not easy to find the complete HTML code that’ll cover every question you want to ask. If you feel confident you can customize someone else’s code to create your form in HTML, scroll down this page to find a standard HTML form code. Please note that it’ll still require PHP scripts to collect responses and CSS styles to match the design of your website.

But really, would you like to learn how to create a form in HTML from scratch instead of focusing on your business? There is an easy way to build any form you need, design it, and collect responses without any additional research on your part – just use the AidaForm’s online form creation service.

Read this AidaForm tutorial and find out how to make a form in HTML without writing a single line of code.

How to Make a Form in HTML with AidaForm

1

Log in to Your AidaForm Account

Click Log in on any page at www.aidaform.com and open your account page. Sign up if you don’t have an AidaForm account yet. You can register and create up to five different forms for free!

2

Create the Type of Form You Need

To start building the form, click Create a Form in your members’ area. You can start with a blank template and add only the fields required for your form type. Alternatively, choose a template with standard blocks like Name, Email, Phone, or Text Field if you know you’re going to need them in your form. Type in the name of your contact form and press the Create button.

Expand the Form Editor to add relevant fields. Drag and drop Name, Email, and Text fields to create a contact form; add multiple choice questions and rating scales for a customer feedback form; create drop-down lists and checkboxes for sales contact requests, and so on. If you’re not sure, which fields to add, search online for similar form examples. This will help you get a general idea how to structure your form.

3

Design the Form to Match Your Website

Open the Form Designer to select a theme that will look well on your website. You can customize fonts and colors, add your logo or a background image. You won’t have to select a color for each element individually thanks to smart theme settings.

The changes you made to the form are saved automatically, so you’ll never lose your progress even if you accidentally close the browser tab.

4

Publish Your Form

When you’re ready, click Publish and choose how to add the form to your website: get a link to the form page to use on a button or export the HTML code to build in on a website page.

5

Collect Responses

Whether you use a link or an embed code, all responses will be automatically collected within the AidaForm service. You’ll get notified when someone submits the form, so you don’t have to check your AidaForm account every time. The data will be safely collected and stored in your member’s area.

This is how to create a form using HTML in AidaForm – without actually having to write HTML code or PHP scripts. Register an account and create all sorts of HTML forms today!

Create HTML Forms Online with the AidaForm Service

  • Use customizable fields for all form types: date, file upload, multiple choice questions, Google Maps, and more
  • Add field validation, signature fields, and CAPTCHA protection
  • Gather responses and store them securely in your account - no need to integrate anything manually
  • Adapt AidaForm to your workflow: export emails to MailChimp, save responses as Google or Excel Sheets or transfer them to other compatible apps through Zapier

Create a Simple Form in HTML from a Basic Template

If you want to learn how to build a form in HTML from scratch, here’s a standard form code that you can start with. Look up the field types you need to add for the form you’re creating, set up response collection to your own server and create CSS styles to design the visuals for your form.

<div class="row">
    <div class="col-md-6 col-md-offset-3" id="form_container">
        <h2>Contact Us</h2>
        <p>
           Please send your message below. We will get back to you at the earliest!
        </p>
        <form role="form" method="post" id="reused_form">
            <div class="row">
                <div class="col-sm-12 form-group">
                    <label for="message">
                        Message:</label>
                    <textarea class="form-control" type="textarea" id="message" name="message" maxlength="6000" rows="7"></textarea>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6 form-group">
                    <label for="name">
                        Your Name:</label>
                    <input type="text" class="form-control" id="name" name="name" required>
                </div>
                <div class="col-sm-6 form-group">
                    <label for="email">
                        Email:</label>
                    <input type="email" class="form-control" id="email" name="email" required>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-12 form-group">
                    <button type="submit" class="btn btn-lg btn-default pull-right" >Send →</button>
                </div>
            </div>
        </form>
        <div id="success_message" style="width:100%; height:100%; display:none; ">
            <h3>Posted your message successfully!</h3>
        </div>
        <div id="error_message"
                style="width:100%; height:100%; display:none; ">
                    <h3>Error</h3>
                    Sorry there was an error sending your form.
        </div>
    </div>
</div>