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

              
                <h1 style="color:white">A Tribute to John Huston</h1>

<right><h2><b>The Greatest American Director</b></h2></right>
<div style= "display:inline-block";>
<div id= "rectangle">
  <p1><br><div class = "table">John Huston was basically the Ernest Hemingway of film. The Master of disaster. The chief wiggum of movies. He was awesome, its true. Don't you think so? Huston began by writing the screenplay for the Maltese Falcon. He worked with Humphrey Bogart all the damn time. Huston was a joker, a smoker, and a midnight toker. The fact of the matter is, he was just the bee's knees. The cat's pajamas. If I ever fell in love with a dude, it would be him, Except he's dead. So if I ever fell in love with a dead dude, it would be him. Except that's necrophilia. And necrophilia is just wrong on so many levels. What a guy, though. You should read his biography. I did. It was awesome. Below is much more information about his entire filmography as a director.</div></p1>
  </div>
</div>




<h3 style= "color: pink"><b></b></h3>
<br>
<ul>
  <li> The Maltese Falcon (1941)</li>
  <li>In This Our Life (1942)</li>
  <li>Winning Your Wings (1942)</li>
  <li>Across the Pacific (1942)</li>
  <li>Report from the Aleutians (1943)</li>
  <li>The Battle of San Pietro (1945)</li>
  <li>Let There Be Light (1946)</li>
  <li>The Treasure of the Sierra Madre (1948)</li>
  <li>Key Largo (1948)</li>
  <li>We Were Strangers (1949)</li>
  <li>The Asphalt Jungle (1950)</li>
  <li>The Red Badge of Courage (1951)</li>
  <li>The African Queen (1951)</li>
  <li>Moulin Rouge (1952)</li>
  <li>Beat the Devil (1953)</li>
  <li>Moby Dick (1956)</li>
  <li>Heaven Knows, Mr. Allison (1957)</li>
  <li>The Barbarian and the Geisha (1958)</li>
  <li>The Roots of Heaven (1958)</li>
  <li>The Unforgiven (1960)</li>
  <li>The Misfits (1960)</li>
  <li>Freud (1962)</li>
  <li>The List of Adrian Messenger (1963)</li>
  <li>The Night of the Iguana (1964)</li>
  <li>The Bible (1966)</li>
  <li>Reflections in a Golden Eye (1967)</li>
  <li>Casino Royale (1967)</li>
  <li>Sinful Davey (1969)</li>
  <li>A Walk with Love and Death (1969)</li>
  <li>The Kremlin Letter (1970)</li>
  <li>Fat City (1972)</li>
  <li>The Life and Times of Judge Roy Bean (1972)</li>
  <li>The Mackintosh Man (1973)</li>
  <li>The Man Who Would Be King (1975)</li>
  <li>Independence (1976)</li>
  <li>Wise Blood (1979)</li>
  <li>Phobia (1980)</li>
  <li>Victory (1981)</li>
  <li>Annie (1982)</li>
  <li>Under the Volcano (1984)</li>
  <li>Prizzi's Honor (1985)</li>
  <li>The Dead (1987)</li>
</ul>
<center>
<div class = "container" "center">
  <img class = "smaller-image" src="http://static.rogerebert.com/uploads/review/primary_image/reviews/great-movie-the-maltese-falcon-1941/homepage_EB20010513REVIEWS08105130301AR.jpg" alt="The Maltese Falcon">
  <img class="smaller-image" src="https://s3.amazonaws.com/criterion-production/stills/6443-2ed28565106693def1bd02911085c42f/Film_410w_UnderVolcano_original.jpg" alt= "Under the Volcano">
  <img class="smaller-image" src="https://upload.wikimedia.org/wikipedia/commons/e/ee/Hepburn_bogart_african_queen.png" alt= "The African Queen">
  <img class="smaller-image" src="http://whysoblu.com/wp-content/uploads/2011/05/The_Misfits_1961-image-495847-1024x774.jpg" alt= "The Misfits">
  <img class="smaller-image" src="http://theredlist.com/media/database/films/cinema/1950/the-asphalt-jungle/008-the-asphalt-jungle-theredlist.jpg" alt= "The Asphalt Jungle">
  <img class="smaller-image" src="http://www.ferdyonfilms.com/wp-content/uploads/2010/08/Moby-1.jpg" alt= "Moby Dick">
  <img class="smaller-image" src="http://www.standbyformindcontrol.com/wp-content/uploads/2013/10/0534905_43450_MC_Tx360.jpg" alt= "Treasure of the Sierra Madre">
  <img class="smaller-image" src="https://s3.amazonaws.com/criterion-production/stills/13483-24b44f7a38c4a3470014ea7905f1914d/470_Film_original.jpg" alt= "Wise Blood">
  </div>
</center>

  <p><center> For more information on this great director, please visit his <a href="https://en.wikipedia.org/wiki/John_Huston">Wikipedia Page</a>.</center></p>





              
            
!

CSS

              
                div.container {display: inline-block;}

div.table {display:table;
text-indent:30px;
height:50px;
width:500px;
margin-left:50px;
  margin-right:50px;
}

h1{font-family:"Impact";}
h2,h3{font-family: "Script";}
h3 {border-top: 5px solid #FFF; margin:0; padding:0;}
h2{font-weight: "bold";
border-bottom: 5px solid #FFF; margin: 0; padding: 0;}
#rectangle{
  background-color: black;
  height:300px;
    width:600px;
   border-collapse: collapse;
  padding: 0;
  margin: 0;
}

p1{color: white; 
font-family: "Times New Roman"}
body{   

  background-image: url("http://classicmoviechat.com/wp-content/uploads/2015/01/johnhuston.jpg");
background-size: cover;}
div.center{margin-left: auto;
    margin-right: auto;
}
.smaller-image {
    width: 100px;
      height:60px;
  }
ul{font-family: "Courier New"}

              
            
!

JS

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

Console