Table tag for creating a form

  HTML & CSS

Email

In creating a form for form alignment, we need to add <table> ??

<section>
   <div class="container">
      <divclass="row"style="">
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal">REQUEST A CALL</button>
      </div>
   </div>
</section>
   
<section>
   <div class="modal fade" id="myModal" role="dialog">
      <div class="modal-dialog">
  <!-- Modal content-->
        <div class="modal-content">
           <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">×</button>
          <h4 class="modal-title">Modal Header</h4>
           </div>
        <div id="enquiry-form-banner__message" style="margin-bottom: 0"></div>
                 
               <!-- Form controls -->
       <div class="form-group">
         <label for="enquiry-form__name"></label>
          <input type="text" class="form-control" id="enquiry-form__name" name="name" placeholder="Your Name*">
  </div>
           <div class="form-group">
            <label for="enquiry-form__email"></label>
            <input type="email" id="enquiry-form__email" name="email" class="form-control" placeholder="Your Email*">
  </div>
           <div class="form-group">
           <label for="enquiry-form_mobile"></label>
           <input type="text" class="form-control" id="enquiry-form__mobile" name="mobile" placeholder="Mobile Number*">
 
             </div>
 
             <div class="form-group">
             <label for="enquiry-form_message"></label>
  <textarea rows="5" cols="50" name="Message" id="Message" class="form-control" placeholder="Message *"></textarea>
 
            <div class="help-block"></div>
          <button type="submit" class="btn btn-block btn-accent">
 Submit</button>
                                
</div>
           </div>
  </div>
         </div>
  </div>
 
 </section>

Spread the Code

Leave a Reply

avatar

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of