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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                
<body>
  <h1>Michael Jai White</h1>
  <h2>Actor and Martial Artist</h2>
<figure>
  <img src="http://www.gstatic.com/tv/thumb/persons/74187/74187_v9_ba.jpg" width="90%" height="40%" alt="Michael J White">
   <figcaption>Michael Jai White </figcaption>
</figure>
 <h3>Short Timeline of Michael Jai White's life and career.</h3>
  <ul>
    <li>1957 - Born in Brooklyn, New York.</li>
    <li>1985 - Graduated from Central High School in Bridgeport, Connecticut.</li>
    <li> 1995 - Obtained first major starring acting role as Mike Tyson.</li>
    <li>1997 - Became first African American actor to portray a major comic book superhero in the movie "Spawn".</li>
    <li>2005 - Got married to Courtney Chatham.</li>
    <li>2011 - Got divorced from wife Courtney Chatham.</li>
    <li>2014 - honored with the Fists of Legends Decade Award at the Urban Action Showcase & Expo at HBO.</li>
    <li>2015 - Got married to actress Gillian Iliana Waters.</li>
   </ul>
<h4>"Most people say I look mean, and because I play so many tough roles and because of my size and my martial arts background, they think I am, but I'm really not." &mdash; Michael Jai White</h4>
<p>Michael Jai white is a man with many talents. Not only is he a great actor, but he also performs his own stunts. He currently practices seven different martial arts styles and has starred in many different roles in his career. If you would like to learn more please visit his <a href="https://en.wikipedia.org/wiki/Michael_Jai_White">Wikipedia Entry</a></p>
</body>
 
  

  
  
              
            
!

CSS

              
                
body {
  background-color: lightgray;
  width: 100%;
  height: 100%;
} 

h1 {
  text-align: center;
  
 }

h2 {
  font-style: oblique;
  text-align: center;
}

figure {
  float: center;
  width: 55%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border: thick solid white;
  padding: 0.5em;
  background-color: white;
  font-style: oblique;
  font-size: medium;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

h3 {
  font-size: large;
  margin-left: 25%;
  font-weight: bold;
}

ul {
  list-style-position: inside;
  margin-left: 25%;
  margin-right: 1%;
  font-size: 90%
 }

h4 {
  padding-top: 2%;
  margin-left: 25% ;
  margin-right: 10%;
  font-size: medium;
  font-weight: bold;
}

p {
  padding-top: 2%;
  margin-left: 25%;
  margin-right: 10%;
  font-weight: bold;
 }











  


    


    


  
  
 

  
  




              
            
!

JS

              
                
              
            
!
999px

Console