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.

+ add another resource


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


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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.


              <div id="container">
<h1>Michael Jackson</h1>
<h2><em>The man who invented the moon walk</em></h2>
<div class="mjImage"><img src="" alt="michael jackson" /><p>Michael Jackson</p></div>

<h3>Michael Jackson's creative journey:</h3>
  <li><span>1958</span> - Michael Jackson was born to Katherine and Joe Jackson in Gary, Indiana.</li>
  <li><span>1962</span> - Jackson 5 was formed.</li>
  <li><span>1969</span> - The Song "<em>I Want You Back</em>" becomes a number one single.</li>
  <li><span>1978</span> - Michael makes his acting debut as the Scarecrow in "<em>The Wiz</em>", an urban retelling of The Wizard of Oz.
  <li><span>1980</span> - Jackson wins his first Grammy Award for Best R&B Male Vocal Performance.</li>
  <li><span>1982</span> - Jackson releases <em>Thriller</em>, which tops the charts for 37 weeks.</li>
  <li><span>1987</span> - Jackson releases his seventh album, "<em>Bad</em>" behind which he embarks on a relentless world tour.</li>
  <li><span>1994</span> - Michael Jackson marries Lisa-Marie Presley, the daughter of the late Elvis Presley.</li>
  <li><span>2001</span> - Sony releases Michael Jackson’s tenth and final studio album, "<em>Invincible</em>".</li>
  <li><span>2009</span> - Jackson passes away as a result of cardiac arrest in Los Angeles at the age of 50.</li>
<blockquote>If you enter this world knowing you are loved and you leave this world knowing the same, then everything that happens in between can be dealt with.<cite>Michael Jackson</cite></blockquote>
<div class="read-more">
  <a href="" target="_blank">Read more about Michael Jackson's creative lifestyle.</a>


              h1, h2, h3, h4, h5, h6 {
  text-align: center;
  margin: 0 0 10px;
  padding: 0;

a:link {
  text-decoration: none;

#container {
  width: 960px;
  margin: 0 auto;
  background-color: lightgray;
  border-radius: 5px;
  padding: 20px;

body {
  margin-top: 60px;
  text-align: center;

.mjImage {
  padding: 10px;
  text-align: center;
  background-color: white;
  display: inline-block;
  border-radius: 5px;

.read-more {
  padding-top: 50px;
  text-align: center;
  font-size: 22px;
  font-family: Helvetica, Ariel, sans-serif;

ul {
  text-align: left;

h3 {
  margin-top: 30px;
  font-size: 20px;

span {
  font-weight: bold;