Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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.

+ add another resource

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <h3>Meter ELement</h3>
<p>Disk usage <meter  min="0"  max="100" value="10"></meter>10gb is used out of  100gb </p>
<p>Heat the oven to <meter min="200" max="500"
  value="350">350 degrees</meter>.</p><label for="pressure">Pressure (low value is good)</label>
<meter id="pressure" name="pressure" min="0" max="100"
low="25" high="75" optimum="20" value="50">
is OK
</meter>
	<hr><h3>q Element</h3>
 <p>In <cite>2001: A Space Odyssey</cite>, Dave asks HAL to open the pod bay door and HAL answers: <q cite="https://www.imdb.com/title/tt0062622/quotes/qt0396921">I'm sorry, Dave. I'm afraid I can't do that.</q></p>
<hr><h3>Keyboard Element</h3>
<p>Please press <kbd>Ctrl</kbd> + <kbd>F5</kbd> to refresh a page in windows.</p>
<p>Please press <kbd>shift</kbd> + <kbd>Cmd</kbd> + <kbd>r</kbd> to refresh a page in mac.</p>
<p>You can also create a new document using the keyboard shortcut
<kbd><kbd>Ctrl</kbd>+<kbd>N</kbd></kbd>.</p>
	<hr><h3>Mark Element</h3>
	<p>It is a dark time for the Rebellion. Although the Death
Star has been destroyed, <mark class="match">Imperial</mark>
troops have driven the Rebel forces from their hidden base and
pursued them across the galaxy.</p>

<p>Evading the dreaded <mark class="match">Imperial</mark>
Starfleet, a group of freedom fighters led by Luke Skywalker
has established a new secret base on the remote ice world of
Hoth.</p>
	<hr>
	<h3>contenteditable attribute</h3>
	<p class="editable" contenteditable='true'>Start writing here...</p>
              
            
!

CSS

              
                .keyboards{
	margin: 10px 0px;
}
p> kbd{
  border:1px solid black;
  padding:3px;
  border-radius:4px;
	display: inline-block;
	margin: 5px;
}
p.editable {
  border: 1px solid #ccc;
  padding: 10px;
}
              
            
!

JS

              
                
              
            
!
999px

Console