Posted By

sebikovacs on 06/23/10


Tagged


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

FaustVIII
satsuma
melihbuyuk
gamblelyn


Form elements


 / Published in: XHTML
 

Form elements I often use

  1. <form class="onlineForm" action="#" method="post">
  2. <label>Text<span class="error"> Error!</span></label>
  3. <label class="last">Text:<span class="error"> Error!</span></label><br />
  4. <span class="text"><input type="text" value="" /></span>
  5. <span class="text last"><input type="text" value="" /></span><br />
  6.  
  7. <div class="checkbox"><input type="checkbox" name="" id="" /><label for="">Text</label></div>
  8. <span class="textarea"><textarea cols="10" rows="6"></textarea></span><br />
  9.  
  10. <div class="buttons">
  11. <input type="submit" class="input button" value="login" />
  12. <span>or</span>
  13. <a href="" title="text">Cancel</a>
  14. </div><!--buttons-->
  15.  
  16. <input type="text" value="" />
  17. <textarea cols="30" rows="10"></textarea>
  18. <input type="submit" class="input button" value="login" />
  19.  
  20. </form>

Report this snippet  

You need to login to post a comment.