gautamphp Posted September 3, 2007 Share Posted September 3, 2007 Plz tell me:-- <form action ="b.php" method="post"> Name <input type = 'text' name = 'name'> <Br> Email <input type = 'text' email = 'email'> <Br> <input type = 'submit' name = 'submit' value = 'submit'> </form> this codding is correct or not Quote Link to comment Share on other sites More sharing options...
madspof Posted September 3, 2007 Share Posted September 3, 2007 Yes but this post should not be in this section as it is not php related Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted September 3, 2007 Share Posted September 3, 2007 welll - it SHOULD be... <form action ="b.php" method="post"> <fieldset> <legend>Details</legend> <label for="name">Name</label><input type="text" name="name"> <label for="email">Email</label><input type="text" email="email"> <input type="submit" name="submit" value="submit"> </fieldset> </form> I oft use a <p> or <div> tag around my label - input pairs to keep them together - sometimes <br /> but even I frown at myself then.... really shoudl do a good css tutorial on styling forms... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.