{"id":128,"date":"2011-05-11T00:38:44","date_gmt":"2011-05-11T00:38:44","guid":{"rendered":"http:\/\/basics.css4design.com\/?p=128"},"modified":"2012-05-22T00:29:01","modified_gmt":"2012-05-21T23:29:01","slug":"example-html5-form","status":"publish","type":"post","link":"http:\/\/4design.xyz\/wordpress-basics\/example-html5-form","title":{"rendered":"Example HTML5 Form"},"content":{"rendered":"<form id=\"payment\">\n<fieldset>\n<legend>Your details<\/legend>\n<ol>\n<li><label for=\"name\">Name<\/label><br \/>\n<input id=\"name\" type=\"text\" name=\"name\" \/><\/li>\n<li><label for=\"email\">Email<\/label><br \/>\n<input id=\"email\" type=\"email\" name=\"email\" \/><\/li>\n<li><label for=\"phone\">Phone<\/label><br \/>\n<input id=\"phone\" type=\"tel\" name=\"phone\" \/><\/li>\n<\/ol>\n<\/fieldset>\n<fieldset>\n<legend>Delivery address<\/legend>\n<ol>\n<li><label for=\"address\">Address<\/label><br \/>\n<textarea id=\"address\" name=\"address\" rows=\"5\"><\/textarea><\/li>\n<li><label for=\"postcode\">Post code<\/label><br \/>\n<input id=\"postcode\" type=\"text\" name=\"postcode\" \/><\/li>\n<li><label for=\"country\">Country<\/label><br \/>\n<input id=\"country\" type=\"text\" name=\"country\" \/><\/li>\n<\/ol>\n<\/fieldset>\n<fieldset>\n<legend>Card details<\/legend>\n<ol>\n<li>\n<fieldset>\n<legend>Card type<\/legend>\n<ol>\n<li><input id=\"visa\" type=\"radio\" name=\"cardtype\" \/><br \/>\n<label for=\"visa\">VISA<\/label><\/li>\n<li><input id=\"amex\" type=\"radio\" name=\"cardtype\" \/><br \/>\n<label for=\"amex\">AmEx<\/label><\/li>\n<li><input id=\"mastercard\" type=\"radio\" name=\"cardtype\" \/><br \/>\n<label for=\"mastercard\">Mastercard<\/label><\/li>\n<\/ol>\n<\/fieldset>\n<\/li>\n<li><label for=\"cardnumber\">Card number<\/label><br \/>\n<input id=\"cardnumber\" type=\"number\" name=\"cardnumber\" \/><\/li>\n<li><label for=\"secure\">Security code<\/label><br \/>\n<input id=\"secure\" type=\"number\" name=\"secure\" \/><\/li>\n<li><label for=\"namecard\">Name on card<\/label><br \/>\n<input id=\"namecard\" type=\"text\" name=\"namecard\" \/><\/li>\n<\/ol>\n<\/fieldset>\n<fieldset><button type=\"submit\">Buy it!<\/button><\/fieldset>\n<\/form>\n<p>Via http:\/\/24ways.org\/code\/have-a-field-day-with-html5-forms\/1.txt<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your details Name Email Phone Delivery address Address Post code Country Card details Card type VISA AmEx Mastercard Card number Security code Name on card Buy it! Via http:\/\/24ways.org\/code\/have-a-field-day-with-html5-forms\/1.txt<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[54,70,74],"_links":{"self":[{"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/posts\/128"}],"collection":[{"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/comments?post=128"}],"version-history":[{"count":0,"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/posts\/128\/revisions"}],"wp:attachment":[{"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/media?parent=128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/categories?post=128"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/tags?post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}