Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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

              
                <h2>Example of <b>Mark</b> Element</h2>
<blockquote>
			<mark>I love the man that can smile in trouble, that can gather strength from distress, and grow brave by reflection.</mark> 'Tis the business of little minds to shrink, but he whose heart is firm, and whose conscience approves his conduct, will pursue his principles unto death.
			<footer>
				<cite>
					By <a href="https://www.brainyquote.com/authors/thomas_paine">Thomas Paine</a>, from <a href="https://www.brainyquote.com/topics/minds">BrainyQuotes</a>.
				</cite>
			</footer>
			
		</blockquote>

<h2>Example of <b>Code</b> Element</h2>
<h3>Code Example without Styling</h3>
		<p>
			The elements discussed in this module include: <code>aside</code>, <code>article</code>, etc. We grouped these elements under page layout elements because they can help you structure your website. We also considered the <code>html</code>, <code>meta</code>, and <code>head</code> tags.
		</p>

		<h3>Code Example with styling</h3>
		<p>
			The elements discussed in this module include: <code style="background-color: silver;">aside</code>, <code style="background-color: silver;">article</code>, etc. We grouped these elements under page layout elements because they can help you structure your website. We also considered the <code style="background-color: silver;">html</code>, <code style="background-color: silver;">meta</code>, and <code style="background-color: silver;">head</code> tags.
		</p>
<h2>Example of KBD Element</h2>
<h3>Code Example without styling</h3>
		<p>In order to save your document, press and hold the <kbd>Ctrl</kbd> + <kbd>S</kbd> keys on the keyboard.</p>

		<p>To display the <b>Task Manager</b> press <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>Del</kbd>.</p>


		<h3>Code Example with styling</h3>
		<p>In order to save your document, press and hold the <kbd style="background-color: gray; padding: 2px;">Ctrl</kbd> + <kbd style="background-color: gray; padding: 2px;">S</kbd> keys on the keyboard.</p>

		<p>To display the <b>Task Manager</b> press <kbd style="background-color: gray; padding: 2px;">Ctrl</kbd> + <kbd style="background-color: gray; padding: 2px;">Alt</kbd> + <kbd style="background-color: gray; padding: 2px;">Del</kbd>.</p>




              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console