Question:

I need an urgent help.?

by  |  earlier

0 LIKES UnLike

Which html code is used to produce this?

Name:

Email:

Details:

Send.

 Tags:

   Report

2 ANSWERS


  1. Name:<br/>

    Email:<br/>

    Details:<br/>

    <br/>

    <input type="submit" value="send" />


  2. Here's the html with css to make it look a little better.  You'll need to change the form action for where ever you plan to have the data processed.  

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

    <html>

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <title>Your title</title>

    <link href="your.css" rel="stylesheet" type="text/css">

    <style type="text/css">

    <!--

    label {

    float: left;

    width: 5em;

    text-align: right;

    }

    .submit {

    margin-left: 5em;

    }

    -->

    </style>

    </head>

    <body>

    <form action="yourscript.php" method="post">

    <fieldset>

    <legend>Your Title</legend>

               <p><label for="form-Name">Name:</label> <input type="text" name="name" id="form-name"></p>

               <p><label for="form-Email">Email:</label><input type="text" name="price" id="form-email"></p>

               <p><label for="form-Details">Details:</label>

               <textarea name="description" rows="4" cols="60" maxlength="300">(300 characters max)</textarea></p>

    <p>

      <input class="submit" type="submit" name="submit" value="Send">

        

    </fieldset></p>

    </form>

    </body>

    </html>

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.