We Recommend

HTML: The Definitive Guide HTML: The Definitive Guide
They teach you that learning HTML is like learning any other language and that reading a book of rules can only take you so far. Readers begin writing what may be their first Web page just two pages into the book's second chapter. From there on, they provide a wide range of HTML coding to allow readers to learn from good examples. The book includes a handy "cheat sheet" of HTML codes for quick reference.


Posted By

jonhenshaw on 01/27/08


Tagged

form dropdown list type drop down blood


Versions (?)


Blood Type Drop Down List for a Web Form


Published in: HTML 


A list of blood types for an online form.


  1. <option>A Positive</option>
  2. <option>A Negative</option>
  3. <option>A Unknown</option>
  4. <option>B Positive</option>
  5. <option>B Negative</option>
  6. <option>B Unknown</option>
  7. <option>AB Positive</option>
  8. <option>AB Negative</option>
  9. <option>AB Unknown</option>
  10. <option>O Positive</option>
  11. <option>O Negative</option>
  12. <option>O Unknown</option>
  13. <option>Unknown</option>
  14. </select>

Report this snippet 

Comments

RSS Icon Subscribe to comments
Posted By: daleyjem on March 8, 2008

I don't agree with that comment. you create your own values. if you don't want to do any work, than each option will take it's innerHTML as the value.

Posted By: vsync on January 30, 2008

where the hell is the VALUE attribute for each OPTION node ?? this is just hard work for people who want to copy-paste dude.

You need to login to post a comment.