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

              
                <table>
	<tcaption>The Grapes of Wrath – cast</tcaption>
	<tbody>
		<tr>
			<th colspan="2">A</th>
		</tr>
		<tr>
			<td>John Arledge</td>
			<td>Davis</td>
		</tr>
		<tr>
			<th colspan="2">B</th>
		</tr>
		<tr>
			<td>Irving Bacon</td>
			<td>Driver</td>
		</tr>
		<tr>
			<td>Ward Bond</td>
			<td>Policeman</td>
		</tr>
		<tr>
			<td>Joe Bordeaux</td>
			<td>Migrant (uncredited)</td>
		</tr>
		<tr>
			<td>Dorris Bowdon</td>
			<td>Rose of Sharon</td>
		</tr>
		<tr>
			<td>Charles D. Brown</td>
			<td>Wilkie</td>
		</tr>
		<tr>
			<th colspan="2">C</th>
		</tr>
		<tr>
			<td>John Carradine</td>
			<td>Jim Casy</td>
		</tr>
		<tr>
			<td>Cliff Clark</td>
			<td>City Man</td>
		</tr>
		<tr>
			<th colspan="2">D</th>
		</tr>
		<tr>
			<td>Frank Darien</td>
			<td>Uncle John</td>
		</tr>
		<tr>
			<td>Jane Darwell</td>
			<td>Ma Joad</td>
		</tr>
		<tr>
			<th colspan="2">E</th>
		</tr>
		<tr>
			<th colspan="2">F</th>
		</tr>
		<tr>
			<td>Frank Faylen</td>
			<td>Tim</td>
		</tr>
		<tr>
			<td>Henry Fonda</td>
			<td>Tom Joad</td>
		</tr>
		<tr>
			<th colspan="2">G</th>
		</tr>
		<tr>
			<td>Charley Grapewin</td>
			<td>William James “Grandpa” Joad</td>
		</tr>
		<tr>
			<td>Paul Guilfoyle</td>
			<td>Floyd</td>
		</tr>
		<tr>
			<th colspan="2">H</th>
		</tr>
		<tr>
			<td>Darryl Hickman</td>
			<td>Winfield Joad</td>
		</tr>
		<tr>
			<td>Robert Homans</td>
			<td>Spencer</td>
		</tr>
		<tr>
			<td>David Hughes</td>
			<td>Frank</td>
		</tr>
		<tr>
			<th colspan="2">I</th>
		</tr>
		<tr>
			<td>Roger Imhof</td>
			<td>Thomas</td>
		</tr>
		<tr>
			<th colspan="2">J</th>
		</tr>
		<tr>
			<td>Selmer Jackson</td>
			<td>Inspection Officer</td>
		</tr>
		<tr>
			<td>Hollis Jewell</td>
			<td>Muley’s Son</td>
		</tr>
		<tr>
			<th colspan="2">K</th>
		</tr>
		<tr>
			<th colspan="2">L</th>
		</tr>
		<tr>
			<th colspan="2">M</th>
		</tr>
		<tr>
			<td>Kitty McHugh</td>
			<td>Mae</td>
		</tr>
		<tr>
			<td>Charles Middleton</td>
			<td>Leader</td>
		</tr>
		<tr>
			<td>Shirley Mills</td>
			<td>Ruth “Ruthie” Joad</td>
		</tr>
		<tr>
			<td>Grant Mitchell</td>
			<td>Caretaker</td>
		</tr>
		<tr>
			<td>Adrian Morris</td>
			<td>Agent</td>
		</tr>
		<tr>
			<th colspan="2">N</th>
		</tr>
		<tr>
			<th colspan="2">O</th>
		</tr>
		<tr>
			<th colspan="2">P</th>
		</tr>
		<tr>
			<td>William Pawley</td>
			<td>Bill</td>
		</tr>
		<tr>
			<th colspan="2">Q</th>
		</tr>
		<tr>
			<td>John Qualen</td>
			<td>Muley Graves</td>
		</tr>
		<tr>
			<td>Eddie Quillan</td>
			<td>Connie Rivers</td>
		</tr>
		<tr>
			<th colspan="2">R</th>
		</tr>
		<tr>
			<th colspan="2">S</th>
		</tr>
		<tr>
			<td>Joseph Sawyer</td>
			<td>Bookkeeper</td>
		</tr>
		<tr>
			<td>Russell Simpson</td>
			<td>Pa Joad</td>
		</tr>
		<tr>
			<td>Frank Sully</td>
			<td>Noah Joad</td>
		</tr>
		<tr>
			<th colspan="2">T</th>
		</tr>
		<tr>
			<td>Charles Tannen</td>
			<td>Joe</td>
		</tr>
		<tr>
			<td>Zeffie Tilbury</td>
			<td>Grandma Joad</td>
		</tr>
		<tr>
			<td>Harry Tyler</td>
			<td>Bert</td>
		</tr>
		<tr>
			<td>Tom Tyler</td>
			<td>Deputy (uncredited)</td>
		</tr>
		<tr>
			<th colspan="2">U</th>
		</tr>
		<tr>
			<th colspan="2">V</th>
		</tr>
		<tr>
			<th colspan="2">W</th>
		</tr>
		<tr>
			<td>Eddie Waller</td>
			<td>Proprietor</td>
		</tr>
		<tr>
			<td>O. Z. Whitehead</td>
			<td>Al Joad</td>
		</tr>
		<tr>
			<th colspan="2">X</th>
		</tr>
		<tr>
			<th colspan="2">Y</th>
		</tr>
		<tr>
			<th colspan="2">Z</th>
		</tr>
	</tbody>
</table>

              
            
!

CSS

              
                body
{
	margin: 2em;
}

table
{
	border-collapse: collapse;
	font-family: Source Serif Pro;
}

tcaption,
th,
td
{
	padding: .25rem .5rem;
}

tcaption
{
	font-size: 1.4em;
}

th,
td
{
	border: thin solid silver;
	text-align: left;
	vertical-align: top;
}

th
{
	background: whitesmoke;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
}
              
            
!

JS

              
                
              
            
!
999px

Console