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

              
                
<html>
<div id="main">
  <div id="title">
  <h1><strong> Robin Williams</strong></h1>
</>

<h2><em> The man that brought many laughes</em></h2>
</div>

<h3><strong><u>The Time Line of Robin Williams (1951-2014)</u></strong></h3>

  <div id="image-div">
   <a href="#"><img    
  src="https://www.gettyimages.com/detail/news-photo/actor-and-comedian-robin-williams-photographed-in-april-news-photo/482094657?adppopup=true" alt="Robin Williams Sliding Down A slide Smiling." id="image">
    <h4 id="img-caption"><u>Robin Willaims Smiling</u></h4>
</div>
 


  <div class="silver-background">
    <ul>
      <li>Robin Williams was born in Chicago on July 21, 1951.</li>
      <li>1973, he attended Julliard.</li>
      <li>1975, he started doing his stand-up comedy.</li>
      <li>1978, he married his first wife Marries Velardi. He also landed his first role in a major tv show, Mark & Mindy. </li>
      <li> Robin landed his first major movie role in 1980 for the film Popeye. From this point on he starred in several movies that made up his career, during his life time. </li>
      <li> 1986, he founded the charity called Comic Relief USA. </li>
    </ul>

    <p><strong> From 1987 - 2011, he played in a lot of well known films:</strong></p>
    <ol>
      <li> Good Morning, Vietnam</li>
      <li> Dead Poets Society</li>
      <li>Hook</li>
      <li>Aladdin</li>
      <li>Jumanji</li>
      <li>What Dreams May Come</li>
      <li>Bicentennial Man</li>
      <li>Insomnia</li>
      <li>Night at the Museum</li>
      <li>World's Greatest Dad</li>
    </ol>
    <ul>
      <li> 2009, he was hospitalized due to heart surgery</li>
      <li> 2011, he married his second wife Susan Schneieder</li>
      <li> On August 11th, 2004 Robin Williams dies</li>
    </ul>

</div>
<div>
  <div id="tribute-info">
 
<p><a href="https://en.wikipedia.org/wiki/Robin_Williams" id= "tribute-link" target="_blank">For more information about Robin Williams</p>
  
  </div>

</html>
              
            
!

CSS

              
                
  h1 {
    color: red;
    font-size: 50px;
    font-family: monospace;
   text-align: center;
    
  }

  h2 {
    color: red;
    font-size: 20px;
    text-align: center;
    
  }

  h3 {
    font-size: 26px;
    font-family: mononspace;
    margin: auto;
    Text-align: center;
  }
h4{
  text-align: center;
  font-size: 10px;
}
  
  p{
    color: red;
    font-size: 16px;
    font-family: sans-serif;
    margin: auto;
    text-align: center;
  }

  
  .silver-background{
    background-color: silver;
  }
#image-div{
  width:100%;
  height:auto;
  max-width: 625px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}


              
            
!

JS

              
                document.getElementsByTagName("h1")[0].style.fontSize = "80px";
              
            
!
999px

Console