cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

              <h1>HTML5 Input Types</h1>

<form action="#">
  <input type="text">
  <input type="time">
  <input type="date" min="2015-05-15" max="2015-05-25">
  <input type="datetime">
  <input type="datetime-local" min="2014-09-09T12:00:00.00">

  <input type="month">

  <input type="week">

  <input type="email">

  <input type="tel">

  <input type="search">

  <input type="number" step="any">
  <input type="number" pattern="[0-9]*" placeholder="Number type with number pattern">
  <p>* iOS's default number keyboard is not the number pad. If you add the pattern, it will use the pad.</p>
  <p>** Samsung devices do not support decimal points in there number pad implementation. 3/18/14</p>
    <p>*** Samsung devices do support decimal points in telephone pad. 6/12/14</p>

  <input type="url">

  <input type="range">

  <input type="color">

  <input type="text" pattern="[0-9]*" placeholder="Text type with number pattern">

    <option>Item 1</option>
    <option>Item 2</option>
    <option>Item 3</option>
    <option>Item 4</option>
    <option>Item 5</option>
    <option>Item 6</option>

              body { 
  margin: 0 auto; 
  max-width: 320px;
  background: #eee;
  font: 16px sans-serif;

label {
  display: block;
  margin-top: 10px;
input, select {
  display: block;
  width: 100%;
  padding: 3px 5px;
  line-height: 26px;
  border-radius: 3px;
  border: 1px solid #bbb;
  box-sizing: content-box;
  -webkit-appearance: none;
Loading ..................