Notes for Forms By Scott Granneman & Jans Carton Find the presentation at http://www.granneman.com/presentations/ ## Slide 6 http://www.google.com ## Slide 7 http://www.amazon.com ## Slide 8 http://en.wikipedia.org ## Slide 9 http://www.facebook.com ## Slide 15 http://codepen.io/websanity/pen/pLzmH?editors=100 ## Slide 16 http://codepen.io/websanity/pen/pLzmH?editors=100 ## Slide 25 These are not very useful for validation—they’re for semantics ## Slide 28 http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-form-element ## Slide 33 http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-fieldset-element ## Slide 34 http://codepen.io/websanity/pen/pjbfG?editors=100 ## Slide 35 http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-legend-element ## Slide 36 http://codepen.io/websanity/pen/tgjmn?editors=100 ## Slide 37 http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-label-element ## Slide 39 http://codepen.io/websanity/pen/xqkvg?editors=100 ## Slide 41 http://codepen.io/websanity/pen/ogsyF ## Slide 43 http://codepen.io/websanity/pen/AczKq?editors=100 ## Slide 45 If you’re going to have labels on the left, you need to gutter-align them ## Slide 46 Cramming everything on one line makes it difficult to read ## Slide 53 http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-textarea-element ## Slide 54 http://codepen.io/websanity/pen/oeiCm?editors=110 ## Slide 56 http://codepen.io/websanity/pen/oeiCm?editors=110 ## Slide 57 http://www.w3.org/TR/css3-ui/#resize0 ## Slide 58 http://codepen.io/websanity/pen/lGDcC?editors=110 to test the various values ## Slide 60 http://codepen.io/websanity/pen/EpdsH?editors=100 ## Slide 62 http://codepen.io/websanity/pen/EpdsH?editors=100 ## Slide 64 http://codepen.io/websanity/pen/EpdsH?editors=100 ## Slide 65 http://www.facebook.com ## Slide 68 http://www.w3.org/html/wg/drafts/html/master/semantics.html#the-placeholder-attribute ## Slide 69 http://codepen.io/websanity/pen/myyNvg?editors=100 ## Slide 71 http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#text-(type=text)-state-and-search-state-(type=search) ## Slide 72 http://codepen.io/websanity/pen/GBhEc ## Slide 73 Don’t use when you should use