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. 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


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


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.


                <table id="sample" border=1 style="width:100%">
         <td>Allan Fife</td>
         <td>apple, banana, orange</td>
         <td>Doris Wilder</td>
         <td>apple, orange, banana</td>
         <td>Allan is in Fife</td>
         <td>Melon, Grape, orange</td>
         <td>Herrod Fife</td>
         <td>Herrod is in Fife</td>
         <td>melon, grape, orange</td>
         <td>Cara Fife</td>
         <td>New York</td>
         <td>grape, melon, orange</td>


                thead {
    background-color: #E8E8E8;



                $(function() {
    // 検索機能無効
    searching: false,
    columnDefs: [
      // 1, 4 列目の幅
      { targets: [0,3], width: "10px" },
      // 5 列目の幅
      { targets: 4, width: "30%" },
      // 5 列目をソートさせない
      //{ "orderable": false, "targets": 4 }
    // 5 列目をソートさせない
    columns: [
      { "orderable": false }
    // 初期時は 1 列目を降順でソート
    order: [[ 0, "desc" ]],
    // 件数情報非表示
    info: false,
    // 件数切替を 1 刻み
    lengthMenu: [ 5, 6, 7, 8 ],
    // ページャーボタン
    pagingType: "full_numbers"