Pen Settings



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


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


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.


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.


                <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""?>
<html lang="en-uk">
<title>HTML Table Layout with inline styles</title>
<body style="margin:10px">
    <table style="width:100%; border-collapse:collapse; font:16px Helvetica, Arial,sans-serif;">
            <td colspan="2" style="padding:5px 10px; background-color:#91AB6F">
                <h1 style="font-size:30px; color:white;">Old School Table Layout</h1>
        <tr style="height:210px;">
            <td style="width:25%; padding:20px; background-color:#B1D188; vertical-align: top;">
                <ul style="list-style:none; padding:0px; line-height:40px; font-size:19px;">
                    <li><a href="#" style="color:#5B6B46;">Home</a></li>
                    <li><a href="#" style="color:#5B6B46;">About</a></li>
                    <li><a href="#" style="color:#5B6B46;">Contact</a></li>
            <td style="padding:20px; background-color:#C7EB98; vertical-align:top;">
                <h2>Welcome to our Old School site</h2>
                <p>Look at all these horrific table, tr tags and inline styles.</p>
              <p>This is very clean in terms of code too. Some table vased layouts had nested tables, within nested tables within nested tables!
            <td colspan="2" style="padding:10px; background-color:#5B6B46; text-align:center;">
                <p style="color:white">copyright &copy; OLDSCHOOL ltd</p>