CSS form


 / Published in: HTML
 

  1. <style type="text/css">
  2. <!--
  3. label,input {
  4. display: block;
  5. width: 150px;
  6. float: left;
  7. margin-bottom: 10px;
  8. }
  9.  
  10. label {
  11. text-align: right;
  12. width: 75px;
  13. padding-right: 20px;
  14. }
  15.  
  16. br {
  17. clear: left;
  18. }-->
  19. <label for="name">Name</label>
  20. <input id="name" name="name">
  21. <br>
  22. <label for="address">Address</label>
  23. <input id="address" name="address">
  24. <br>
  25. <label for="city">City</label>
  26. <input id="city" name="city">
  27. <br>
  28. </form>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: JasmineShepherd on June 10, 2017

That’s a great simple form which takes 3 inputs Name, address, and City but where is submit button? Well, this is the easiest way to educate students who are seeking help in their assignment or searching assignment writing service to make their assignment accomplished so they can use this information. Snipplr is a really great website to learn front end.

Posted By: sslcresults on February 19, 2018

The SSLC Result 2018 Kerala will be declared on 3 rd week of May 2018. The actual date is not yet announced by higher authorities, but they decide to release in the month of May. The entire Board students are waiting for the latest news to know about the www. results. itschool .gov. in 2018 SSLC Result and it will be available on the board official website page results .itschool .gov.in on a regular basis to get the academic result. [url=http://sslcresult2018kerala.in/]SSLC Result 2018 Kerala[/url]

You need to login to post a comment.