開発環境
- macOS Sierra - Apple (OS)
- Emacs (Text Editor)
- Safari(Web browser)
Head First HTML and CSS (Elisabeth Robson(著)、Eric Freeman(著)、O'Reilly Media)の Chapter 14.(HTML Forms: Getting Interactive)、BE THE BROWSER(No. 10122) を取り組んでみる。
BE THE BROWSER(No. 10122)
Name:
Zip:
Chili Red
Hyper Blue
Racing Stripe
Sport Seat
HTML5
<!doctype html> <html> <body> <p> Name: <input type="text" name="name" value="Buckkroo Banzai"><br> Zip: <input type="text" name="zip" value="90050"><br> </p> <p> <select name="model"> <option value="cooper">Mini Cooper</option> <option value="cooperS">Mini Cooper S</option> <option value="convertible" selected>Mini Cooper Convertible</option> </select> </p> <p> <input type="radio" name="color" value="chilired" checked>Chili Red<br> <input type="radio" name="color" value="hyperblue">Hyper Blue </p> <p> <input type="checkbox" name="caroptions[]" value="stripes" checked> Racing Stripe <br> <input type="checkbox" name="caroptions[]" value="sportseats">Sport Seat </p> </body> </html>
0 コメント:
コメントを投稿