2015年1月7日水曜日

開発環境

Head First HTML and CSS (Elisabeth Robson (著)、 Eric Freeman (著)、O'Reilly Media)のChapter 14(HTML Forms: Getting Interactive)、MARKUP MAGNETS(No. 9918)を解いてみる。

MARKUP MAGNETS(No. 9918)

HTML (BBEdit, Emacs)

<form action="" method="">
  <p>
    Choose your beans:
    <select name="beans">
      <option name="bean" value="">House Blend</option>
      <option name="bean" value="">Shade Grown Bolivia Supremo</option>
      <option name="bean" value="">Organic Guatemala</option>
      <option name="bean" value="">Kenya</option>
    </select>
    <br>
    Type<br>
    <input type="radio" name="wholeorground" value="whole">Whole bean<br>
    <input type="radio" name="wholeorground" value="ground" >Ground<br>
    Number of bags: <input type="number" value="bags" min="0"><br>
    Must arrive bay date: <input type="date" name="date"><br>
    Extras:<br>
    <input type="checkbox" name="extras">Gift wrap<br>
    <input type="checkbox" name="extras">Include catalog with order<br>
    Ship to:<br>
    Name: <input type="text" name="name"><br>
    Address: <input type="text" name="address"><br>
    City: <input type="text" name="city"><br>
    State: <input type="text" name="state"><br>
    Zip: <input type="text" name="zip"><br>
    Phone: <input type="tel" name="tel"><br>
    Customer Comments:<br>
    <textarea name="comments" rows="10" cols="50"></textarea><br>
    <input type="submit" value="Order Now">
  </p>
</form>

Choose your beans:
Type
Whole bean
Ground
Number of bags:
Must arrive bay date:
Extras:
Gift wrap
Include catalog with order
Ship to:
Name:
Address:
City:
State:
Zip:
Phone:
Customer Comments:

0 コメント:

コメントを投稿