Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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>Simple Accessible Data Table</h1>

<table>
  <caption>Star Wars Trilogy Data</caption>
  <thead>
    <tr>
      <th scope="col">Title</th>
      <th scope="col">Director</th>
      <th scope="col">Release Date</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">Star Wars: Episode IV - A New Hope</th>
      <td>George Lucas</td>
      <td>May 25th, 1977</td>
    </tr>
    <tr>
      <th scope="row">Star Wars: Episode V - The Empire Strikes Back</th>
      <td>Irvin Kershner</td>
      <td>May 21st, 1980</td>
    </tr>
    <tr>
      <th scope="row">Star Wars: Episode VI - Return of the Jedi</th>
      <td>Richard Marquand</td>
      <td>May 25th, 1983</td>
    </tr>
  </tbody>
</table>

<p>Alternatively, review the ARIA based demo: <a href="https://codepen.io/svinkle/pen/WYvxGQ">Simple ARIA Data Table</a>.</p>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console