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 Elements</h1>
<h2>embeded</h2>
<h3>mathml</h3>
<math>
    <mrow>
        <mrow>
            <msup>
                <mi>a</mi>
                <mn>2</mn>
            </msup>
            <mo>+</mo>
            <msup>
                <mi>b</mi>
                <mn>2</mn>
            </msup>
        </mrow>
        <mo>=</mo>
        <msup>
            <mi>c</mi>
            <mn>2</mn>
        </msup>
    </mrow>
</math>
<h2>Forms</h2>
<h3>datalist</h3>
Browsers: <input list="browsers">
<datalist id="browsers">
<option value="Chrome">
<option value="Firefox">
<option value="Internet Explorer">
<option value="Opera">
<option value="Safari">
</datalist>
<h3>output</h3>
<form oninput="result.value=parseInt(a.value)
            +parseInt(b.value)">
<input type="number" name="b"  /> +
<input type="number" name="a"  /> =
<output name="result"></output>
</form>
<h3>keygen</h3>
<keygen name="RSA public key" challenge="123456789" keytype="RSA">
</keygen>
<h3>meter</h3>
<meter min="0" max="30" low="5" high="20" value="0">0 degrees.</meter>
<br>
<meter min="0" max="30" low="5" high="20" value="5">5 degrees.</meter>
<br>
<meter min="0" max="30" low="5" high="20" value="15">15 degrees.</meter>
<br>
<meter min="0" max="30" low="5" high="20" value="25">25 degrees.</meter>
<br>
<meter min="0" max="30" low="5" high="20" value="30">30 degrees.</meter>

<h2>Forms new inputs control types</h2>

<ul>
  <li>search : <input type="search" name="my_search">
</li>
  <li>number: <input type="number" name="my_number">
</li>
  <li>range: <input type="range" name="my_range">
</li>
  <li>color: <input type="color" name="my_color">
</li>
  <li>date <input type="date">
</li>
</ul>

<h2>Form input attributes</h2>

<h3>placeholder</h3>
<input type="text" placeholder="login">
<input type="password" placeholder="password">

<h3>min, max, step</h3>
<input type="range" min="12" max="120" step="12">
<br>
<input type="number" min="12" max="120" step="12">
<br>
<input type="date" min="2015-10-01" max="2015-12-01" step="14">

<h3>pattern</h3>
<input type="text" name="code" pattern="[A-Za-z]{3}" title="3 letters code" />

<h3>required</h3>

<form action="#">
        code:
        <input type="text" name="code" pattern="[A-Z]{3}" placeholder="AAA" title="Three letters code" />
        <br>value:
        <input type="number" min="1" max="100" title="integer between 1 and 100" required>
        <input type="submit" value="Submit">
</form>

            
          
!
999px
Loading ..................

Console