From Microformats Wiki
Revision as of 21:25, 11 October 2005 by DrErnie (talk | contribs) ()
Jump to navigation Jump to search

Forms Brainstorming

This page collects ideas from rest/forms-examples how to best encode form data into a microformat

DETH = Dictionaries Encoding/Transmitting HTML

Table Design Pattern

<a class="deth" href="http//">label</a>
<form class="deth" action="http//" method="post">
<table class="form">
 <td><label for="firstname">First name</label></td>
 <td><input type="text" id="firstname"></td>
 <td><label for="lastname">Last name</label></td>
 <td><input type="text" id="lastname"></td>
 <td><label for="email">Email</label></td>
 <td><input type="text" id="email"></td>
 <td><label for="sex">Sex</label></td>
   <input type="radio" name="sex" value="Male">Male </input>
   <input type="radio" name="sex" value="Female">Female </input>
 <td><label for="travel">Travel</label></td>
   <input type="checkbox" name="travel" value="car">Car</input>
   <input type="checkbox" name="travel" value="bike">Bicycle</input>
 <td><label for="age">Age</label></td>
    <option val=0>< 18 </option>
    <option val=18>18-64 </option>
    <option val=65>65+ </option>
<input type="submit" value="Send">  <input type="reset">