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

              
                <h1>Accessible table example</h1>
<table>
    <caption>Choose a plan</caption>
    <thead>
        <tr>
            <th><span class="visually-hidden">Plan feature</span></th>
            <th>Personal<span class="visually-hidden"> plan</span></th>
            <th>Team<span class="visually-hidden"> plan</span></th>
            <th>Business<span class="visually-hidden"> plan</span></th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td><span class="visually-hidden">Plan descriptions</span></td>
            <td>Great for securely storing, sharing and collaborating with friends and family.</td>
            <td>Perfect for small teams looking for advanced security and user controls.</td>
            <td>Ideally suited for companies looking for an onramp to ECM and collaboration in the cloud.</td>
        </tr>
        <tr>
        	<td>Number of users</td>
            <td>1</td>
            <td>2<span aria-hidden="true">-</span><span class="visually-hidden">to</span>50</td>
            <td>5+</td>
        </tr>
        <tr>
        	<td>Storage</td>
            <td>2 <span aria-hidden="true">GB</span><span class="visually-hidden">gigabytes</span></td>
            <td>50GB</td>
            <td>Unlimited</td>
        </tr>
        <tr>
        	<td>Single file upload limit</td>
            <td>250MB</td>
            <td>2GB</td>
            <td>5GB</td>
        </tr>
        <tr>
            <td><span aria-hidden="true">2FA</span><span class="visually-hidden">2 factor authentication</span></td>
            <td><img src="icon-checkmark-green.svg" alt="feature included"></td>
            <td><img src="icon-checkmark-green.svg" alt="feature included"></td>
            <td><img src="icon-checkmark-green.svg" alt="feature included"></td>
        </tr>
        <tr>
            <td>Single sign on</td>
            <td><span class="visually-hidden">not included</span></td>
            <td><span class="visually-hidden">not included</span></td>
            <td><span class="visually-hidden">not included</span></td>
        </tr>
    </tbody>
</table>
              
            
!

CSS

              
                .visually-hidden {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
}
              
            
!

JS

              
                
              
            
!
999px

Console