Computer Science, asked by nareshkumar611, 10 months ago

how to create form in html?​

Answers

Answered by Anonymous
8

Answer:

here is ur answer mate.. .

HTML forms are used to collect user input.

The <form> element defines an HTML form:... ..

An HTML form contains form elements.

Form elements are different types of input elements, like text fields, checkboxes, radio buttons, submit buttons, and more... . .. . .

Type Description

text Defines normal text input

radio Defines radio button input (for selecting one of many choices)

submit Defines a submit button (for submitting the form)

\color{red}{Thank \ u \ for \ asking}

Answered by Brainlyshchay
7

<html>

 <head>

   <title>For Nareshkumar611 | nishchay</title>

   <style>

     body {

       font-family: Raleway, sans-serif;

     }

     fieldset {

       background-color: #ECEFF1;

       border-radius: 5px;

       border-color: #55555;

     }

     legend {

       font-weight: bold;

       color: #FF1744;

     }

     input.sub {

       background-color: #18FFFF;

       color: ;

       padding: 5px;

       border-radius: 25px;

     }

     input {

       border: 1px;

       display: inline-block;

       border-radius: 4px;

       width: 100%;

       height: 30px;

     }

     h3 {

       text-align: center;

     }

   </style>

 </head>

 <body>

   <h1>A form Created Using Only HTML and CSS &#8628</h1>

   <hr>

   <form action="received.html">

     <fieldset>

     Username:

       <br>

     <input type="text" placeholder="Username...">

     <br><br>

     Name:

     <input type="text" placeholder="Name...">

     <br><br>

     E-mail:

     <input type="email" placeholder="E-mail...">

     <br><br>

     Pasword:

     <input type="password" placeholder="Minimum 8 digits">

       <br><br>

       <input type="submit" class="sub">

       </fieldset>

   </form>

   <h3>Hope this helps you !</h3>

 </body>

</html>

No SPAMMING❗❕......

Attachments:
Similar questions