| 1234567891011121314151617181920212223242526272829303132 |
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>033 form controls</title>
- <style>
- html, body { margin: 0; padding: 0; background: #ffffff; color: #202020; }
- body { font-family: sans-serif; font-size: 13px; padding: 10px; }
- h1 { font-size: 20px; margin: 0 0 6px 0; }
- p { margin: 0 0 10px 0; }
- .row { margin: 6px 0; }
- label { margin-right: 8px; }
- input, select, textarea, button { font-family: sans-serif; font-size: 13px; }
- #result { margin-top: 10px; padding: 8px; background: #eeeeee; color: #000000; font-family: monospace; font-weight: bold; }
- </style>
- </head>
- <body>
- <h1>033 · form controls</h1>
- <p>Render check: text, password, checkbox, radio, select, textarea, buttons, disabled.</p>
- <div class="row"><label>Text</label><input type="text" placeholder="type here"></div>
- <div class="row"><label>Value</label><input type="text" value="hello"></div>
- <div class="row"><label>Password</label><input type="password" value="secret"></div>
- <div class="row"><label>Number</label><input type="number" value="42"></div>
- <div class="row"><label>Check</label><input type="checkbox" checked> <label>Unchecked</label><input type="checkbox"></div>
- <div class="row"><label>Radio</label><input type="radio" name="r" checked> A <input type="radio" name="r"> B</div>
- <div class="row"><label>Select</label><select><option>One</option><option selected>Two</option><option>Three</option></select></div>
- <div class="row"><label>Textarea</label><textarea id="ta" rows="2">two lines of text</textarea></div>
- <div class="row"><button id="b1" type="button">Button</button> <button type="submit">Submit</button> <button type="reset">Reset</button></div>
- <div class="row"><label>Disabled</label><input type="text" value="no edit" disabled> <button disabled>Disabled</button></div>
- <div id="result">Click a control and type; the value should update.</div>
- </body>
- </html>
|